]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/user.js
Match pan/zoom control style better
[rails.git] / app / assets / javascripts / user.js
index 95137bd120012df3cdf35f380920253689b61951..e5620b0a30dc6048b6009f26dd8657639266c573 100644 (file)
@@ -1,5 +1,8 @@
 $(document).ready(function () {
-  var map = createMap("map");
+  var map = createMap("map", {
+    zoomControl: true,
+    panZoomControl: false
+  });
 
   if (OSM.home) {
     map.setView([OSM.home.lat, OSM.home.lon], 12);