getMetersPerPixelAtLatitude method

Future<double> getMetersPerPixelAtLatitude(
  1. double latitude
)

Returns the distance spanned by one pixel at the specified latitude and current zoom level. The distance between pixels decreases as the latitude approaches the poles. This relationship parallels the relationship between longitudinal coordinates at different latitudes.

Implementation

Future<double> getMetersPerPixelAtLatitude(double latitude) async {
  return _mapboxGlPlatform.getMetersPerPixelAtLatitude(latitude);
}