X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/824a474d933a3f5010717dd41097e65a25f8130c..e316f0e425cc934295c8e64cdcf03f00899f287c:/app/assets/javascripts/browse.js diff --git a/app/assets/javascripts/browse.js b/app/assets/javascripts/browse.js index 9858db091..1c0b1b479 100644 --- a/app/assets/javascripts/browse.js +++ b/app/assets/javascripts/browse.js @@ -56,7 +56,7 @@ $(document).ready(function () { $("#browse_map .geolink").show(); if (extent) { - extent.transform(map.getProjectionObject(), map.displayProjection); + extent = unproj(extent); var centre = extent.getCenterLonLat();