]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/diary_entry.js
Include current non-OSM.org hostname in share URL
[rails.git] / app / assets / javascripts / diary_entry.js
index e17f59ad2fcde45205e43364b0d9677ccd3f1dd0..7c420b671b679901230be1b041a336e0bec676b4 100644 (file)
@@ -27,7 +27,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 () {