James Lyne
cfda231048
Rename marker layer utility methods
2022-01-15 18:45:01 +00:00
James Lyne
5391b2a34c
Recreate tooltips on marker update
2022-01-15 16:00:19 +00:00
James Lyne
f47bf8e691
Use HTML tooltip for marker display when it exists
2022-01-15 15:50:27 +00:00
James Lyne
9c74d7b163
Marker changes
...
- Merge marker label/tooltipContent
- Rename tooltipContent/popupContent to tooltip/popup
- Set tooltip from label for all dynmap marker types
2022-01-13 16:07:27 +00:00
James Lyne
7cd21a19e2
Rename marker types for clarity
...
- Add "Marker" suffix
- Rename regular marker to "PointMarker"
2022-01-13 14:14:11 +00:00
James Lyne
02c705de36
Fix build errors
2021-07-29 03:39:28 +01:00
James Lyne
90ec2080ee
Add tooltip support
2021-07-29 03:06:05 +01:00
James Lyne
d04226e3ec
Refactor popup handling
...
- Merge label and popupContent properties for vector layers, as only one is ever used
- Move common vector methods to separate file and remove duplicates
- Rename isHTML properties to be clearer
2021-07-28 17:49:38 +01:00
James Lyne
2a216dd4e8
Path performance improvements
...
- Avoid intermediate objects when creating leaflet objects to reduce allocations
- Make individual path objects non-reactive
- Avoid projecting path points twice during updates
2021-07-28 04:04:47 +01:00
James Lyne
9517de0760
Path point handling changes
...
- Store path points as {x,y,z} objects instead of separate arrays
- Project point objects right before layer creation
- A bit slower overall but matches the format of Pl3xmap path points.
2021-07-28 04:04:46 +01:00
James Lyne
5cf353cd8a
Update license headers
2021-07-26 01:05:08 +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
a966812f1a
Close existing popups during updates
2021-01-26 14:42:37 +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
e77a777a66
Implement update handling for areas/lines/circles
2020-12-11 15:28:51 +00:00