Static Maps
Zoom + center
Get static image by defining both the zoom level and geographic center (longitude & latitude)
get/map/static/center/{layergroupid}/{z}/{lat}/{lng}/{width}/{height}.{format}
Path parameters
layergroupidstring required
The layergroup ID.
zinteger required
Zoom level.
latnumber float required
The latitude for the center of the map.
lngnumber float required
The longitude for the center of the map.
widthinteger required
Width in pixels for the output image.
heightinteger required
Height in pixels for the output image.
format'png' | 'jpg' required
Output image format
Query parameters
Layers to be rendered together.
Supports 2 format options:
-
a comma separated list of layer indexes (0-based). Examples:
- 0,1,3 - will filter and blend layers with indexes 0, 1 and 3
- 2 - only one layer
-
all will blend all layers in the layergroup (default value)
Response
Ok