Commit Graph

44 Commits

Author SHA1 Message Date
James Lyne
e46a97df15 Fix scheduledZoom/scheduledPan handling on map change 2021-07-26 01:04:18 +01:00
James Lyne
0c1ca36be1 Fix build 2021-07-26 01:04:18 +01:00
James Lyne
1d27e05f7c Rename DynmapPlayer to LiveAtlasPlayer, rename some fields, add uuid field 2021-07-26 01:04:18 +01:00
James Lyne
33b5b305e2 Add MapProvider, move dynmap api handling to DynmapMapProvider 2021-07-26 01:04:17 +01:00
James Lyne
c99215e259 Use generic names for extended leaflet classes 2021-07-26 01:04:17 +01:00
James Lyne
ef26d78c19 Refactor map handling
- Map definitions now have their own class
- A map's projection is now a private property of the instance. Coordinates are converted via map instance methods.
- Moved map icon handling to instance getter
- Removed currentProjection and related mutations from store
- Changed currentProjection watchers to currentMap
2021-07-26 01:04:13 +01:00
James Lyne
636bebd237 Focus style improvements
- Replace js :focus-visible polyfill with css
- Improve fallback :focus styles
2021-07-22 02:48:09 +01:00
James Lyne
92a854701a Update map, pan and zoom if the url is edited manually 2021-07-20 03:25:42 +01:00
James Lyne
9bea4519c6 Rename some types 2021-07-19 16:40:30 +01:00
James Lyne
387c92e3cb Fix hot-reloading Map component 2021-05-28 19:50:08 +01:00
James Lyne
a7ba49c2c2 Focus map on Esc 2021-05-26 23:55:50 +01:00
James Lyne
9813054264 Customisable map aria label 2021-05-26 21:13:54 +01:00
James Lyne
cce1f79a4d More aria attributes 2021-05-26 03:07:24 +01:00
James Lyne
b22e492099 Fix map focus covering buttons 2021-05-25 23:46:26 +01:00
James Lyne
327f2da4bc Add visual indicator for the map being focused 2021-05-25 13:13:02 +01:00
James Lyne
1b91c04d1e Move context menu outside of map element 2021-05-24 20:51:19 +01:00
James Lyne
a8ec660ffd Map context menu 2021-05-24 16:42:32 +01:00
James Lyne
6eec608eb1 Improve handling of component config updates 2021-05-18 22:01:07 +01:00
James Lyne
64fe37e35c Respect dynmap showlayercontrol setting 2021-05-18 21:05:11 +01:00
James Lyne
36d2be4100 Move to native css variables 2021-05-15 23:24:29 +01:00
James Lyne
ce241c93e0 Switch from webpack to vite 2021-05-15 20:25:03 +01:00
James Lyne
7d6c6e6ec7 0.7.2 for real. Only change map on follow pan if different world or new follow 2021-01-27 00:33:21 +00:00
James Lyne
d79a5a0a36 Rewrite handling of pan/zoom across map changes. Fixes various timing issues. 2021-01-27 00:11:08 +00:00
James Lyne
ae377b8a26 Rename chat component to ChatBox 2021-01-06 16:02:48 +00:00
James Lyne
30d0219535 Add player image to FollowTarget 2020-12-31 13:55:05 +00:00
James Lyne
cd22237e33 Chat 2020-12-31 13:22:50 +00:00
James Lyne
842854967d Fix zoom level 0 in url being ignored 2020-12-21 18:38:35 +00:00
James Lyne
069e4dc641 Pan to correct location when switching projections 2020-12-21 12:45:03 +00:00
James Lyne
a4d4491d5f Use the same pane for all vector shapes, to allow clicks 2020-12-19 12:16:07 +00:00
James Lyne
b92120e801 Handle hidden/offworld players
- Respect server config for greying out players in other worlds
- Always grey out players hidden due to other restrictions
- Allow following for hidden players, and show their hidden status on the follow popup
2020-12-18 16:04:06 +00:00
James Lyne
217028e044 Delay follow panning by a frame to account for projection changes 2020-12-18 16:02:12 +00:00
James Lyne
38476266b0 Fix panning to players across worlds 2020-12-18 14:53:06 +00:00
James Lyne
7fe660d491 Fix build 2020-12-17 15:25:14 +00:00
James Lyne
d1fff4e120 Start chat implementation 2020-12-17 14:52:05 +00:00
James Lyne
3acd40efd2 Pan to players on click 2020-12-17 00:13:28 +00:00
James Lyne
31b05613fb Add license 2020-12-16 16:54:41 +00:00
James Lyne
37c1766e6f Add tile loading indicator 2020-12-15 01:52:49 +00:00
James Lyne
9e28e695ee Implement link copying and url handling 2020-12-13 02:50:17 +00:00
James Lyne
b9b58399f6 Targeted leaflet imports 2020-12-12 22:04:56 +00:00
James Lyne
ca82f56185 Start layer control implementation 2020-12-11 21:38:50 +00:00
James Lyne
04ca1108be Implement day/night background colors 2020-12-10 02:22:29 +00:00
James Lyne
5d0f26917d More progress 2020-12-01 23:20:48 +00:00
James Lyne
151904c343 The map kinda works 2020-11-23 12:13:28 +00:00
James Lyne
307a168b4d Initial commit 2020-11-20 21:44:31 +00:00