nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit ebd5564101d83565ed5c9092ecac63ecaa89deea
parent 45f156082d42a5cdb97c4ce19120022811f947da
Author: Sergey Orlov <wladimirych@gmail.com>
Date:   Sun, 13 Dec 2020 00:44:43 +0100

cutline overview: send overviews to back to avoid conflicts with other polygons

Diffstat:
Msrc/lib/leaflet.layer.LayerCutlineOverview/index.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/lib/leaflet.layer.LayerCutlineOverview/index.js b/src/lib/leaflet.layer.LayerCutlineOverview/index.js @@ -69,6 +69,7 @@ class LayerCutlineOverview extends L.Layer { const zoom = this._map.getZoom(); if (zoom <= this.maxZoom) { this._map.addLayer(this._features); + this._features.bringToBack(); } else { this._map.removeLayer(this._features); }