James Lyne
80fe8916f3
Refactor config loading
...
- Move config validation into map providers
- Move TileLayer creation into map providers
- Simplify config loading logic
2022-01-21 20:20:01 +00:00
James Lyne
687a31f0f7
Refactor Map pan handling
...
- Add setView method to handle all panning/zooming
- Replaced SET_PAN_TARGET mutation with more generic SET_VIEW_TARGET which accepts locations/bounds/zooms and leaflet options
- Merged all scheduled variables into single scheduledView
2022-01-16 22:15:12 +00:00
James Lyne
9ee99c9290
Fix incorrect scheduledZoom type check
2021-12-23 23:00:23 +00:00
James Lyne
980141ccba
Fix zoom level 0 being ignored in url and map default zoom
2021-12-23 16:43:14 +00:00
James Lyne
cbd6c7f3b9
Handle pl3xmap world default zoom
2021-12-10 15:54:55 +00:00
James Lyne
aca007ee94
Reset zoom level when switching worlds
2021-09-07 23:20:35 +01:00
James Lyne
c4230fda7d
Use --outline-focus for map focus indicator
2021-08-31 17:46:02 +01:00
James Lyne
76f151a64c
First attempt at login/register
2021-08-30 22:28:20 +01:00
James Lyne
2ff16c81ed
Merge remote-tracking branch 'origin/master'
2021-07-29 18:20:05 +01:00
James Lyne
f5002ed828
Fix URL zoom being ignored on initial load ( Fixes #59 )
2021-07-29 14:14:01 +01:00
James Lyne
8151dfaab5
Make followZoom optional
2021-07-28 23:52:51 +01:00
James Lyne
5cf353cd8a
Update license headers
2021-07-26 01:05:08 +01:00
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
c7ec76767e
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-23 20:42:18 +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