Commit Graph

12 Commits

Author SHA1 Message Date
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
693de26b8c Fix outlined 2d box area update handing (Fixes #29) 2021-06-12 23:37:02 +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
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
4124b6b8e8 On redraw an area when it's style or points change 2020-12-14 15:53:58 +00:00
James Lyne
e77a777a66 Implement update handling for areas/lines/circles 2020-12-11 15:28:51 +00:00