with [x, y] in degrees.
Optional
template: stringa template string containing "{x}" and/or "{y}" to format the result.
Optional
formatXFn: (x: number) => stringa function to format the x coordinate into a string.
Optional
formatYFn: (y: number) => stringa function to format the y coordinate into a string.
the formated coordinates.
Format coordinates to a template string.