Coordinate.
A template string with {x} and {y} placeholders
that will be replaced by first and second coordinate values.
Optional opt_fractionDigits: numberThe number of digits to include
after the decimal point. Default is 0.
Formatted coordinate.
stable
Generated using TypeDoc
Transforms the given ol.Coordinate to a string using the given string template. The strings
{x}and{y}in the template will be replaced with the first and second coordinate values respectively.Example without specifying the fractional digits:
Example explicitly specifying the fractional digits: