Fit a static map to viewport bounds
One step with MapTiler. We can help you get access.
Look something up
Fit a static map to viewport bounds
with MapTiler · Maps & Tiles
Use MapTiler: its MapTiler Static maps API lets you fit a static map to viewport bounds in a single step (GET /maps/{mapId}/static/{minx},{miny},{maxx},{maxy}/{width}x{height}{scale}.{format}). capabilities.work can help you get signed up and connected.
- Can I generate a static map of a rectangular viewport?
- Which path parameters define the left, bottom, right and top edges of a static map?
Say it to your AI assistant
- Generate a {format} static map of map {mapId} covering the bounds {minx},{miny},{maxx},{maxy} at {width} by {height}.
- Draw a {scale} {format} map of {mapId} of bounds {minx},{miny},{maxx},{maxy}, {width} by {height} pixels.
For your developer
GET /maps/{mapId}/static/{minx},{miny},{maxx},{maxy}/{width}x{height}{scale}.{format} in MapTiler Static maps API. Full spec on APIs.io.