groundResolution

fun groundResolution(latitude: Double, zoom: Int): Double

Determines the ground resolution (in meters per pixel) at a specified latitude and level of detail.

Return

The ground resolution, in meters per pixel.

Parameters

latitude

Latitude (in degrees) at which to measure the ground resolution.

zoom

Level of detail, from 1 (lowest detail) to 23 (highest detail).