]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/user.js
Auto-select share link text
[rails.git] / app / assets / javascripts / user.js
index 4e646771247c93dad7c67cbe4cd49fd76c85ae0d..b5520aa36e42373ab3fdde9bb693e5c1a0ce56cc 100644 (file)
@@ -4,7 +4,7 @@ $(document).ready(function () {
     zoomControl: false
   }).addLayer(new L.OSM.Mapnik());
 
-  L.control.zoom({position: 'topright'})
+  L.OSM.zoom()
     .addTo(map);
 
   $("#map").on("resized", function () {