getPixelXY

fun getPixelXY(latitude: Double, longitude: Double, zoom: Int): Pair<Double, Double>

Calculates the pixel coordinate of the provided latitude and longitude location at the given zoom level.

Return

Pixel coordinate as a Pair (x, y).

Parameters

latitude

Current Latitude.

longitude

Current Longitude.

zoom

Zoom level.