All docsPlaygroundStatic Images API

Static Images API

Static maps are standalone images that can be displayed on web and mobile devices without the aid of a mapping library or API. They look like an embedded map without interactivity or controls.

Enter values for each parameter or position the map below to build a Static Images API request.

Parameters
from your account page
in pixels
in pixels
zoom level
Optional parameters
rotate map
tilt map
add a marker, path, or GeoJSON
render map at 2x scale
style parameters change map style at render time
Request URL
https://api.mapbox.com/styles/v1/{username}/{style_id}/static/{overlay}/{lon},{lat},{zoom},{bearing},{pitch}|{auto}|{bbox}/{width}x{height}{padding}{@2x}