Omit minutes and seconds if zero

This commit is contained in:
Tim Schaub
2022-07-28 08:03:20 -06:00
parent 9f6ccdfb2d
commit 82dfba2520
4 changed files with 54 additions and 35 deletions
+4
View File
@@ -6,6 +6,10 @@
Please see https://docs.microsoft.com/en-us/lifecycle/announcements/internet-explorer-11-end-of-support.
#### ol/coordinate.js
The `toStringHDMS` function from the `ol/coordinate.js` module now formats longitude, latitude pairs so that the minutes and seconds are omitted if they are zero. This changes the values displayed on graticules.
### 6.15.0
#### Deprecated `tilePixelRatio` option for data tile sources.