]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/export.js
Merge remote-tracking branch 'upstream/master' into vagrant
[rails.git] / app / assets / javascripts / index / export.js
index fd658c53236922e1125ce55cdc6af2901acd8651..6e6867e5b5a15f5139f8b7ac5cac1d3ea3fa7af4 100644 (file)
@@ -36,7 +36,7 @@ OSM.Export = function(map) {
   }
 
   function setBounds(bounds) {
-    var precision = zoomPrecision(map.getZoom());
+    var precision = OSM.zoomPrecision(map.getZoom());
     $("#minlon").val(bounds.getWest().toFixed(precision));
     $("#minlat").val(bounds.getSouth().toFixed(precision));
     $("#maxlon").val(bounds.getEast().toFixed(precision));