diff --git a/tds/src/main/webapp/WEB-INF/templates/gridFragments.html b/tds/src/main/webapp/WEB-INF/templates/gridFragments.html index 1c17b2c365..1846f511a5 100644 --- a/tds/src/main/webapp/WEB-INF/templates/gridFragments.html +++ b/tds/src/main/webapp/WEB-INF/templates/gridFragments.html @@ -27,10 +27,10 @@ var horizExtentWKT = /*[[${horizExtentWKT}]]*/ 'POLYGON((-90 45, 90 45, 90 -45, -90 -45, -90 45))'; var fullLatLonExt = { - north: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.latMax, 0, 3)}]]*/ "45.0000", - south: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.latMin, 0, 3)}]]*/ "-45.0000", - west: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.lonMin, 0, 3)}]]*/ "-90.0000", - east: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.lonMax, 0, 3)}]]*/ "90.0000" + north: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.latMax, 0, 3, 'POINT')}]]*/ "45.0000", + south: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.latMin, 0, 3, 'POINT')}]]*/ "-45.0000", + west: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.lonMin, 0, 3, 'POINT')}]]*/ "-90.0000", + east: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.lonMax, 0, 3, 'POINT')}]]*/ "90.0000" }; var fullProjExt = { diff --git a/tds/src/main/webapp/WEB-INF/templates/pointFragments.html b/tds/src/main/webapp/WEB-INF/templates/pointFragments.html index 9ffffe5b29..c76f58fef8 100644 --- a/tds/src/main/webapp/WEB-INF/templates/pointFragments.html +++ b/tds/src/main/webapp/WEB-INF/templates/pointFragments.html @@ -28,10 +28,10 @@ var horizExtentWKT = /*[[${horizExtentWKT}]]*/ 'POLYGON((-90 45, 90 45, 90 -45, -90 -45, -90 45))'; var fullLatLonExt = { - north: /*[[${#numbers.formatDecimal(boundingBox?.latMax, 0, 3)}]]*/ "45.0000", - south: /*[[${#numbers.formatDecimal(boundingBox?.latMin, 0, 3)}]]*/ "-45.0000", - west: /*[[${#numbers.formatDecimal(boundingBox?.lonMin, 0, 3)}]]*/ "-90.0000", - east: /*[[${#numbers.formatDecimal(boundingBox?.lonMax, 0, 3)}]]*/ "90.0000" + north: /*[[${#numbers.formatDecimal(boundingBox?.latMax, 0, 3, 'POINT')}]]*/ "45.0000", + south: /*[[${#numbers.formatDecimal(boundingBox?.latMin, 0, 3, 'POINT')}]]*/ "-45.0000", + west: /*[[${#numbers.formatDecimal(boundingBox?.lonMin, 0, 3, 'POINT')}]]*/ "-90.0000", + east: /*[[${#numbers.formatDecimal(boundingBox?.lonMax, 0, 3, 'POINT')}]]*/ "90.0000" }; var fullTimeExt = {