Commit Graph

22 Commits

Author SHA1 Message Date
James Lyne
ca8142cca8 Use declare for leaflet defined fields 2021-08-26 21:40:54 +01:00
James Lyne
2d485ac4e5 Fix marker labels disappearing when toggling a showLabels: true layer twice 2021-08-16 04:21:48 +01:00
James Lyne
a7fa366635 Create marker labels lazily when showLabels is false 2021-07-29 17:46:11 +01:00
James Lyne
5cf353cd8a Update license headers 2021-07-26 01:05:08 +01:00
James Lyne
e809f28455 (Re)move some config store properties 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
ff7250f081 Fix hidden layers duplicating occasionally 2021-05-19 03:26:57 +01:00
James Lyne
c5f8644587 Fix hidebydefault preventing player marker player being added to the layer control 2021-05-18 23:07:25 +01:00
James Lyne
64fe37e35c Respect dynmap showlayercontrol setting 2021-05-18 21:05:11 +01:00
James Lyne
23b00bd19d Respect dynmap layer priorities 2021-02-08 00:08:29 +00:00
James Lyne
a5ff836ba4 Only create pane for layer group if it doesn't exist 2020-12-23 18:02:37 +00:00
James Lyne
05bf3e8b48 Prevent removed markers reapparing after toggling layer visibility 2020-12-23 18:02:10 +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
11fbc069be Handle marker set updates 2020-12-19 01:09:31 +00:00
James Lyne
7b1afa1c20 Handle showLabels config setting 2020-12-18 23:01:32 +00:00
James Lyne
0eea500098 Merker set changes
- Use separate panes for each marker set
- Set pane z-index based on marker set priority
- Optimize zoom visibility checks
2020-12-18 22:49:28 +00:00
James Lyne
d6693b4c0d Respect min/max zoom settings for marker sets 2020-12-18 20:25:34 +00:00
James Lyne
31b05613fb Add license 2020-12-16 16:54:41 +00:00
James Lyne
4393890661 Respect marker set hidden by default config 2020-12-14 00:35:56 +00:00
James Lyne
b9b58399f6 Targeted leaflet imports 2020-12-12 22:04:56 +00:00
James Lyne
37d7758d70 Layers button SVG icon 2020-12-12 21:38:09 +00:00
James Lyne
ca82f56185 Start layer control implementation 2020-12-11 21:38:50 +00:00