James Lyne
355c0c71cf
Restructure LiveAtlasServerDefinition
2021-07-26 01:05:07 +01:00
James Lyne
bc38af3254
Use generic names for more types
2021-07-26 01:04:18 +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
b9807b3a7b
Fix config validation
2021-07-22 23:18:26 +01:00
James Lyne
649f571a20
Configuration improvements
...
- Default playersAboveMarkers to true to match previous behaviour
- Move all window.liveAtlasConfig handling to main.ts and a single mutation
- Rename server configuration mutations to differentiate server and global configurations
2021-07-20 21:18:41 +01:00
James Lyne
693de26b8c
Fix outlined 2d box area update handing ( Fixes #29 )
2021-06-12 23:37:02 +01:00
James Lyne
2e1426e945
More generic keyboard event handling
2021-05-28 22:36:14 +01:00
James Lyne
63efb8c3c3
Reduce screenreader spam when showing splash screen errors
2021-05-28 15:55:44 +01:00
James Lyne
034a7a2fdb
Split up Util.ts
2021-05-27 01:41:58 +01:00
James Lyne
e3233e3dfa
Pan on marker click
2021-05-25 23:31:03 +01:00
James Lyne
a966812f1a
Close existing popups during updates
2021-01-26 14:42:37 +00:00
James Lyne
869f733fb7
Handle popups for markers. Fixes #5
2021-01-26 14:32:48 +00:00
James Lyne
7b1afa1c20
Handle showLabels config setting
2020-12-18 23:01:32 +00:00
James Lyne
d6693b4c0d
Respect min/max zoom settings for marker sets
2020-12-18 20:25:34 +00:00
James Lyne
cad535365b
Handle marker icon/label updates
2020-12-18 18:01:37 +00:00
James Lyne
10cfd5b56f
Cleanup
2020-12-16 19:18:10 +00:00
James Lyne
31b05613fb
Add license
2020-12-16 16:54:41 +00:00
James Lyne
43a15e575f
Fix marker updates when projection changes
2020-12-16 11:59:09 +00:00
James Lyne
4124b6b8e8
On redraw an area when it's style or points change
2020-12-14 15:53:58 +00:00
James Lyne
1128a9b0ba
Don't set a zindex on markers
2020-12-14 15:48:58 +00:00
James Lyne
6249eb904b
Move marker set markers into single component. Start marker update handling.
2020-12-14 00:27:49 +00:00
James Lyne
e77a777a66
Implement update handling for areas/lines/circles
2020-12-11 15:28:51 +00:00