unproject

Calculate a coordinate for a given point on the map in Mercator Projection.

Return

Returns a coordinate.

Parameters

coordinate

Point on the map in Mercator projection.

zoomScale

The current zoom factor applied on the map, is used to calculate the world size as tileSize * zoomScale (i.e., 512 * 2 ^ Zoom level) where tileSize is the width of a tile in pixels.

open fun unproject(coordinate: MercatorCoordinate, zoomScale: Double): Point