Method

ShumateMapSourceget_meters_per_pixel

Declaration [src]

double
shumate_map_source_get_meters_per_pixel (
  ShumateMapSource* map_source,
  double zoom_level,
  double latitude,
  double longitude
)

Description [src]

Gets meters per pixel at the position on the map using this map source’s projection.

Parameters

zoom_level double
 

The zoom level.

latitude double
 

A latitude.

longitude double
 

A longitude.

Return value

Returns: double
 

The meters per pixel.