X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/83b3db99747b9630dff3ad3292a68daa6599d0e5..eab2eeaa47b2aa8c7f52371f9bfdd60711a41fb6:/app/assets/javascripts/index/export.js?ds=sidebyside diff --git a/app/assets/javascripts/index/export.js b/app/assets/javascripts/index/export.js index fd658c532..6e6867e5b 100644 --- a/app/assets/javascripts/index/export.js +++ b/app/assets/javascripts/index/export.js @@ -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));