Endpoints
Static Map
Get a static map image based on the given parameters
GET
/
v1
/
static-map
Authorizations
key
string
queryrequiredQuery Parameters
width
integer
requiredMax 2048px.
Required range:
5 < x < 2048
height
integer
requiredMax 2048px.
Required range:
5 < x < 2048
lat
number
Latitude. Optional if paths are provided.
lng
number
Longitude. Optional if paths are provided.
zoom
number
Zoom level. Optional if paths are provided.
padding
integer
default: 15Padding in pixels. Only applicable when calculating implicit positioning of the map.
style
enum<string>
default: lightAvailable options:
dark
, light
scale
integer
default: 1Maximum 3.
Required range:
1 < x < 3
showAttribution
boolean
default: truemarkers
string[]
Array of marker strings.
Example: lat:37.7749,lng:-122.4194
paths
string[]
Array of path strings.
Example: polyline:}rueFf~ejVxGw@f@pH~`@wEqCqb@,color:#5C26C5
Response
200 - image/png
Example response: