API ReferenceStatic maps
← MapScale APIGET
/v1/static/{lonLatZoom}/{sizeFile}Render a static map image
Generate a PNG map image with an optional style, language, markers and path.
Responses
200A rendered PNG static map.image/png
400Invalid coordinates, zoom, or size.application/json
401mapscale/effect-api/UnauthorizedFailureapplication/json
403mapscale/effect-api/ForbiddenFailureapplication/json
404Unknown styleId.application/json
429mapscale/effect-api/RateLimitedFailureapplication/json
500mapscale/effect-api/MiddlewareInternalFailureapplication/json
502The render service returned an error.application/json
503The render service is unreachable or not configured. | mapscale/effect-api/UpstreamUnavailableFailureapplication/json