Method

ShumateMapSourceget_x

Declaration [src]

double
shumate_map_source_get_x (
  ShumateMapSource* map_source,
  double zoom_level,
  double longitude
)

Description [src]

Gets the x position on the map using this map source’s projection. (0, 0) is located at the top left.

Parameters

zoom_level double
 

The zoom level.

longitude double
 

A longitude.

Return value

Returns: double
 

The x position.