]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.map.js.erb
Move zoomPrecision function to the OSM namespace
[rails.git] / app / assets / javascripts / leaflet.map.js.erb
index 7ae330d9bfcd50b7b1c0819fd15f6256222ef753..35370ae996108be6058ecc5b8cb8f8149d53bf49 100644 (file)
@@ -91,7 +91,7 @@ L.OSM.Map = L.Map.extend({
   },
 
   getUrl: function(marker) {
-    var precision = zoomPrecision(this.getZoom()),
+    var precision = OSM.zoomPrecision(this.getZoom()),
         params = {};
 
     if (marker && this.hasLayer(marker)) {