Add ol.coordinate.format function
Return a formatted coordinate. Example usage:
> ol.coordinate.format([0.01 ,12.14], "{x}, {y}", 2)
"0.01, 12.14"
> ol.coordinate.format([0.01 ,12.14], "lat: {y} / lon: {x}", 1)
"lat: 12.1 / lon: 0.0"
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@exportSymbol ol.coordinate.createStringXY
|
||||
@exportSymbol ol.coordinate.format
|
||||
@exportSymbol ol.coordinate.toStringHDMS
|
||||
@exportSymbol ol.coordinate.toStringXY
|
||||
@exportSymbol ol.coordinate.fromProjectedArray
|
||||
|
||||
Reference in New Issue
Block a user