pixelXYToLatLon

fun pixelXYToLatLon(pixelX: Double, pixelY: Double, zoom: Int): Pair<Double, Double>

Calculates the lat and lon coordinates given a pixelX, pixelY and zoom.

Return

Lat lon coordinates as a Pair(x, y).

Parameters

pixelX

pixelX of the tile.

pixelY

pixelY of the tile.

zoom

Zoom level of the tile.