Skip to content

Commit

Permalink
Force use of point as a decimal seperator instead of using browser lo…
Browse files Browse the repository at this point in the history
…cale as separator
  • Loading branch information
tdrwenski committed Sep 6, 2024
1 parent 9980e78 commit 90f1b5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions tds/src/main/webapp/WEB-INF/templates/gridFragments.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
8 changes: 4 additions & 4 deletions tds/src/main/webapp/WEB-INF/templates/pointFragments.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 90f1b5e

Please sign in to comment.