Skip to content

Commit 90f1b5e

Browse files
Tara Drwenskitdrwenski
Tara Drwenski
authored andcommitted
Force use of point as a decimal seperator instead of using browser locale as separator
1 parent 9980e78 commit 90f1b5e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Diff for: tds/src/main/webapp/WEB-INF/templates/gridFragments.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
var horizExtentWKT = /*[[${horizExtentWKT}]]*/ 'POLYGON((-90 45, 90 45, 90 -45, -90 -45, -90 45))';
2828

2929
var fullLatLonExt = {
30-
north: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.latMax, 0, 3)}]]*/ "45.0000",
31-
south: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.latMin, 0, 3)}]]*/ "-45.0000",
32-
west: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.lonMin, 0, 3)}]]*/ "-90.0000",
33-
east: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.lonMax, 0, 3)}]]*/ "90.0000"
30+
north: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.latMax, 0, 3, 'POINT')}]]*/ "45.0000",
31+
south: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.latMin, 0, 3, 'POINT')}]]*/ "-45.0000",
32+
west: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.lonMin, 0, 3, 'POINT')}]]*/ "-90.0000",
33+
east: /*[[${#numbers.formatDecimal(gcd.latlonBoundingBox?.lonMax, 0, 3, 'POINT')}]]*/ "90.0000"
3434
};
3535

3636
var fullProjExt = {

Diff for: tds/src/main/webapp/WEB-INF/templates/pointFragments.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
var horizExtentWKT = /*[[${horizExtentWKT}]]*/ 'POLYGON((-90 45, 90 45, 90 -45, -90 -45, -90 45))';
2929

3030
var fullLatLonExt = {
31-
north: /*[[${#numbers.formatDecimal(boundingBox?.latMax, 0, 3)}]]*/ "45.0000",
32-
south: /*[[${#numbers.formatDecimal(boundingBox?.latMin, 0, 3)}]]*/ "-45.0000",
33-
west: /*[[${#numbers.formatDecimal(boundingBox?.lonMin, 0, 3)}]]*/ "-90.0000",
34-
east: /*[[${#numbers.formatDecimal(boundingBox?.lonMax, 0, 3)}]]*/ "90.0000"
31+
north: /*[[${#numbers.formatDecimal(boundingBox?.latMax, 0, 3, 'POINT')}]]*/ "45.0000",
32+
south: /*[[${#numbers.formatDecimal(boundingBox?.latMin, 0, 3, 'POINT')}]]*/ "-45.0000",
33+
west: /*[[${#numbers.formatDecimal(boundingBox?.lonMin, 0, 3, 'POINT')}]]*/ "-90.0000",
34+
east: /*[[${#numbers.formatDecimal(boundingBox?.lonMax, 0, 3, 'POINT')}]]*/ "90.0000"
3535
};
3636

3737
var fullTimeExt = {

0 commit comments

Comments
 (0)