GET [root]/maps/[key]/image
This endpoint returns an image or graphic representation of the map based on the map state Parameters that are sent to it.
Response Type
application/json
Example URL
https://devzone.mapzania.com/mz/maps/AFRICA/image?width=300&height=200&type=jpg
Parameters
Name | Required | Default | Description |
---|---|---|---|
key | Yes | no default | The key of the map to display as an image. |
width | No | 480 | The width of the image |
height | No | 480 | The height of the image |
format | No | png | The image type. Valid values are gif, jpg and png. |