nakarte

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

commit 94dfb5cc1cb8aed1c59b1c4bac513157f11d5f5e
parent 871fc17b2c0078a8880f5232bbd3d5f345fd6b02
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Tue, 31 Jan 2017 11:45:43 +0300

[track list] removed zIndex option from waypoynts layer

Diffstat:
Msrc/lib/leaflet.control.track-list/track-list.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/leaflet.control.track-list/track-list.js b/src/lib/leaflet.control.track-list/track-list.js @@ -126,7 +126,7 @@ L.Control.TrackList = L.Control.extend({ {text: 'Delete hidden tracks', callback: this.deleteHiddenTracks.bind(this)} ] ); - this._markerLayer = new Waypoints(null, {print: true, zIndex: 100001}).addTo(map); + this._markerLayer = new Waypoints(null, {print: true}).addTo(map); this._markerLayer.on('markerclick markercontextmenu', this.onMarkerClick, this); map.on('resize', this._setAdaptiveHeight, this); setTimeout(() => this._setAdaptiveHeight(), 0);