Static Maps Generator
Center-based URL
https://api.maptiler.com/maps/{mapid}/static/{lon},{lat},{zoom}/{width}x{height}[@2x].png?key={YOUR_MAPTILER_API_KEY_HERE}
Read API reference
Bounds-based URL
https://api.maptiler.com/maps/{mapid}/static/{minx},{miny},{maxx},{maxy}/{width}x{height}[@2x].png?key={YOUR_MAPTILER_API_KEY_HERE}
Read API reference
Autofitting the area
It is also possible to use auto
insted of the region specification (center or bounds) in the URL.
In such case, the area will be automatically calculated based on a path from the query (at least one polygon or
marker has to be specified). See the documentation of the format and possible values below.