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"
6 lines
205 B
Plaintext
6 lines
205 B
Plaintext
@exportSymbol ol.coordinate.createStringXY
|
|
@exportSymbol ol.coordinate.format
|
|
@exportSymbol ol.coordinate.toStringHDMS
|
|
@exportSymbol ol.coordinate.toStringXY
|
|
@exportSymbol ol.coordinate.fromProjectedArray
|