]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/map.js.erb
Remove pan and zoom controls
[rails.git] / app / assets / javascripts / map.js.erb
index 90aefa94580a5fd466c4eb5316d5111c896f9978..2354593ff9ed368d34d125e06c2ef76557ec6236 100644 (file)
@@ -59,10 +59,6 @@ function createMap(divName, options) {
     map.attributionControl.setPrefix('');
   }
 
-  if (options.panZoomControl) {
-    new L.Control.Pan().addTo(map);
-    new L.Control.Zoomslider({stepHeight: 7}).addTo(map);
-  }
 
   var layersControl = L.control.layers();