Remove pan and zoom controls

This commit is contained in:
Tom MacWright 2013-06-10 09:46:00 -07:00 committed by John Firebaugh
parent 31b7bedfda
commit 5aea67a71f
6 changed files with 2 additions and 283 deletions

View file

@ -6,8 +6,6 @@
//= require leaflet
//= require leaflet.osm
//= require leaflet.locationfilter
//= require leaflet.pan
//= require leaflet.zoom
//= require i18n/translations
//= require oauth
//= require osm

View 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();