Nits and fixes
This commit is contained in:
parent
cd3380cb69
commit
b7e317bb02
@ -28,7 +28,9 @@ window.plugin.zoomSlider.setup = function() {
|
||||
@@INCLUDERAW:external/L.Control.Zoomslider.js@@
|
||||
try { console.log('done loading Leaflet.zoomslider JS'); } catch(e) {}
|
||||
|
||||
if(map.zoomControl._map) {
|
||||
window.map.removeControl(map.zoomControl);
|
||||
}
|
||||
window.map.addControl(L.control.zoomslider());
|
||||
|
||||
$('head').append('<style>@@INCLUDESTRING:external/L.Control.Zoomslider.css@@</style>');
|
||||
|
Loading…
x
Reference in New Issue
Block a user