Browse Source
* feat: assign dedicated Leaflet pane per marker data layer for z-index control
Each marker data layer gets its own Leaflet pane (tb-markers-pane-{index})
whose z-index is derived from the layer's position in the Overlays list
(first = highest = always on top). Stacking order is controlled by
drag-reordering layers in the editor — no new settings field required.
Pane z-index formula: 600 + (count - 1 - index), keeping marker layers
above overlayPane (400) and below tooltipPane/popupPane (650/700).
Both individual markers and cluster icons are assigned to the layer's pane
via the `pane` and `clusterPane` Leaflet marker options respectively.
Scope: markers data layers only; polygons, circles, polylines and trips
retain their default Leaflet panes.
* refactor: move marker pane ownership to TbMap and keep panes below markerPane
pull/16631/head
committed by
GitHub
3 changed files with 29 additions and 3 deletions
Loading…
Reference in new issue