Skip to content

Render a map as PNG

GET
/api/maps/{map_id}/render.png

Renders a map as a static PNG image, including layers and their symbology.

If no bbox is provided, the extent defaults to the smallest extent that contains all layers with well-defined bounding boxes. bbox must be in the format xmin,ymin,xmax,ymax (EPSG:4326).

Width and height are in pixels.

map_id
required
Map Id
string
bbox
Any of:
string
width
Width
integer
default: 1024
height
Height
integer
default: 600
bgcolor
Bgcolor
string
default: #ffffff
request
Request

Successful Response

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string