# HG changeset patch # User Kallirroi Dogani # Date 1373751265 -10800 # Node ID d928a2a245f5c78b86bfc9d2d088047bd61c70e5 # Parent 5fe95b6e25fc62e41104d6dc931396bf80db0ae0 changed the position of crs in geometry of map bounds displayed at strabon endpoint diff -r 5fe95b6e25fc -r d928a2a245f5 endpoint/WebContent/query.jsp --- a/endpoint/WebContent/query.jsp Sat Jul 13 20:11:01 2013 +0300 +++ b/endpoint/WebContent/query.jsp Sun Jul 14 00:34:25 2013 +0300 @@ -139,13 +139,13 @@ var x2 = southWest.lng().toFixed(2); var y2 = southWest.lat().toFixed(2); - var polygon = "\"POLYGON((" + + var polygon = "\" POLYGON((" + x1 + " " + y2 + ", " + x2 + " " + y2 + ", " + x2 + " " + y1 + ", " + x1 + " " + y1 + ", " + - x1 + " " + y2 + "));" + - "http\://www.opengis.net/def/crs/EPSG/0/4326\"^^"; + x1 + " " + y2 + "))\"" + + "^^"; document.getElementById('bounds').value=polygon;