]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/map.js.erb
Stop the map overlapping the top bar
[rails.git] / app / assets / javascripts / map.js.erb
index 00aec648413b94f7e6262d5cbcce97b7bb82e67b..393e9cae7d3e88f3b3a01b718e084fe37a8934e2 100644 (file)
@@ -78,7 +78,7 @@ var layers = [
 ];
 
 function createMap(divName, options) {
-  options = $.extend({zoomControl: false, panZoomControl: true, layerControl: true}, options);
+  options = $.extend({zoomControl: true, panZoomControl: true, layerControl: true}, options);
 
   map = L.map(divName, $.extend({}, options, {panControl: false, zoomsliderControl: false, maxZoom: 18}));