Static map images
Map images for mails, PDFs and social previews: the Google Maps Static API URL with the host swapped.
Live map
Mail signature or event invitation: one place, one pinOpen this image on its ownPDF or print: several sites, labeled, map fits them itselfOpen this image on its ownOpen Graph preview (1200x630 at scale 2): a route as a geodesic lineOpen this image on its ownArea: a filled polygon, labels in JapaneseOpen this image on its ownCode
<img
src="https://maps.siemens-cdn.com/maps/api/staticmap?center=48.14428,11.57501&zoom=15&size=600x300&scale=2&markers=color:0x009999%7C48.14428,11.57501"
alt="Map of the Siemens headquarters in Munich with a petrol pin"
width="600"
height="300">
<meta property="og:image" content="https://maps.siemens-cdn.com/maps/api/staticmap?size=600x315&scale=2&format=jpg&path=color:0x009999ff%7Cweight:4%7Cgeodesic:true%7C48.14428,11.57501%7C28.50968,77.08316">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
https://maps.siemens-cdn.com/maps/api/staticmap?center=48.14428,11.57501&zoom=15&size=600x300&scale=2&markers=color:0x009999%7C48.14428,11.57501
https://maps.siemens-cdn.com/maps/api/staticmap?size=640x400&scale=2&markers=color:0x009999%7Clabel:A%7C48.14428,11.57501&markers=color:0x0087BE%7Clabel:B%7C49.57288,11.00253&markers=color:0x000028%7Clabel:C%7C52.53750,13.26330
https://maps.siemens-cdn.com/maps/api/staticmap?size=600x315&scale=2&format=jpg&path=color:0x009999ff%7Cweight:4%7Cgeodesic:true%7C48.14428,11.57501%7C28.50968,77.08316
https://maps.siemens-cdn.com/maps/api/staticmap?size=500x300&language=ja&path=color:0x007373ff%7Cweight:2%7Cfillcolor:0x00999933%7C35.6852,139.7528%7C35.6852,139.7800%7C35.6700,139.7800%7C35.6700,139.7528&visible=35.68120,139.76710
Parameters
| Name | Required | Values | Notes |
|---|---|---|---|
center | without markers, path or visible | "lat,lng" or an address | Map center. |
zoom | without markers, path or visible | 0 to 21 | Google's zoom scale. Without it the map fits all markers, paths and visible points. |
size | yes | {width}x{height}, up to 640x640 | Larger values are cut to 640. |
scale | no | 1, 2 | scale=2 doubles the pixels for sharp images on high-density screens and in print. |
format | no | png, png8, png32, gif, jpg, jpg-baseline, webp | png is 8-bit like Google. |
markers | no | styles|locations | size, color, label, scale; repeat the parameter for several groups. |
path | no | styles|locations or enc:polyline | weight, color, fillcolor (with alpha), geodesic. |
visible | no | locations | Points the map keeps in view. |
language | no | BCP 47 tag | Label language where the basemap has one. |
key, signature | no | any | Accepted and ignored. |
Every parameter: embed URL reference.
Migrating from Google
Swap https://maps.googleapis.com for https://maps.siemens-cdn.com and drop key and signature. The path /maps/api/staticmap and every other parameter stay identical. A page CSP that lists maps.googleapis.com in img-src needs https://maps.siemens-cdn.com there instead.
Removed: - <img src="https://maps.googleapis.com/maps/api/staticmap?center=48.14428,11.57501&zoom=15&size=600x300&scale=2&markers=color:0x009999%7C48.14428,11.57501&key=API_KEY" alt="Map of the Siemens headquarters in Munich with a petrol pin">Added: + <img src="https://maps.siemens-cdn.com/maps/api/staticmap?center=48.14428,11.57501&zoom=15&size=600x300&scale=2&markers=color:0x009999%7C48.14428,11.57501" alt="Map of the Siemens headquarters in Munich with a petrol pin">
Removed: - <img src="https://maps.googleapis.com/maps/api/staticmap?size=640x400&scale=2&markers=color:0x009999%7Clabel:A%7C48.14428,11.57501&markers=color:0x0087BE%7Clabel:B%7C49.57288,11.00253&markers=color:0x000028%7Clabel:C%7C52.53750,13.26330&key=API_KEY" alt="Map of Siemens sites in Munich, Erlangen and Berlin with labeled pins A, B and C">Added: + <img src="https://maps.siemens-cdn.com/maps/api/staticmap?size=640x400&scale=2&markers=color:0x009999%7Clabel:A%7C48.14428,11.57501&markers=color:0x0087BE%7Clabel:B%7C49.57288,11.00253&markers=color:0x000028%7Clabel:C%7C52.53750,13.26330" alt="Map of Siemens sites in Munich, Erlangen and Berlin with labeled pins A, B and C">
Removed: - <img src="https://maps.googleapis.com/maps/api/staticmap?size=600x315&scale=2&format=jpg&path=color:0x009999ff%7Cweight:4%7Cgeodesic:true%7C48.14428,11.57501%7C28.50968,77.08316&key=API_KEY" alt="Map of a geodesic line from Munich to Gurgaon">Added: + <img src="https://maps.siemens-cdn.com/maps/api/staticmap?size=600x315&scale=2&format=jpg&path=color:0x009999ff%7Cweight:4%7Cgeodesic:true%7C48.14428,11.57501%7C28.50968,77.08316" alt="Map of a geodesic line from Munich to Gurgaon">
Removed: - <img src="https://maps.googleapis.com/maps/api/staticmap?size=500x300&language=ja&path=color:0x007373ff%7Cweight:2%7Cfillcolor:0x00999933%7C35.6852,139.7528%7C35.6852,139.7800%7C35.6700,139.7800%7C35.6700,139.7528&visible=35.68120,139.76710&key=API_KEY" alt="Map of central Tokyo with a translucent petrol area">Added: + <img src="https://maps.siemens-cdn.com/maps/api/staticmap?size=500x300&language=ja&path=color:0x007373ff%7Cweight:2%7Cfillcolor:0x00999933%7C35.6852,139.7528%7C35.6852,139.7800%7C35.6700,139.7800%7C35.6700,139.7528&visible=35.68120,139.76710" alt="Map of central Tokyo with a translucent petrol area">
Notes
- Any site, mail or PDF may embed the image. There is no key; a leftover
keyorsignatureis ignored. - Images are cached by their parameters, so the same URL is rendered once. Under heavy load a new image may answer 503 for a while; cached ones keep working.
- Up to 640x640 at
scale=2(1280x1280 pixels), like Google without a premium plan.formattakes png (default), png32, gif, jpg and webp. maptype=satellite,hybridandterraindraw the street map.styletakes our style names (siemens,minimal,contrast,bold) andcolorScheme=darkthe dark scheme; Google’s feature-rulestyle,map_idand custom marker icons are not reproduced; the response headerX-Maps-Unsupportednames them. The parameter table below lists everything supported.