X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/960d13488a875245570ee498ee9a1ed7cac37bbe..4d62aea5ecf45f2161c5ba35efab29d745720001:/app/views/browse/start.rjs diff --git a/app/views/browse/start.rjs b/app/views/browse/start.rjs index 04f5e12c9..8c8d62260 100644 --- a/app/views/browse/start.rjs +++ b/app/views/browse/start.rjs @@ -15,6 +15,8 @@ page << < 0.25) { setStatus("Unable to load: Bounding box size of " + size + " is too large (must be smaller than 0.25)"); } else { - loadGML("/api/0.5/map?bbox=" + projected.toBBOX()); + loadGML("/api/#{API_VERSION}/map?bbox=" + projected.toBBOX()); } } @@ -215,16 +215,16 @@ page << <