Static map images

Map images for mails, PDFs and social previews: the Google Maps Static API URL with the host swapped.

Live map

Map of the Siemens headquarters in Munich with a petrol pin
Mail signature or event invitation: one place, one pinOpen this image on its own
Map of Siemens sites in Munich, Erlangen and Berlin with labeled pins A, B and C
PDF or print: several sites, labeled, map fits them itselfOpen this image on its own
Map of a geodesic line from Munich to Gurgaon
Open Graph preview (1200x630 at scale 2): a route as a geodesic lineOpen this image on its own
Map of central Tokyo with a translucent petrol area
Area: a filled polygon, labels in JapaneseOpen this image on its own

Code

HTML, mail or CMS
<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">
Open Graph preview
<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">
All image URLs on this page
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

NameRequiredValuesNotes
centerwithout markers, path or visible"lat,lng" or an addressMap center.
zoomwithout markers, path or visible0 to 21Google's zoom scale. Without it the map fits all markers, paths and visible points.
sizeyes{width}x{height}, up to 640x640Larger values are cut to 640.
scaleno1, 2scale=2 doubles the pixels for sharp images on high-density screens and in print.
formatnopng, png8, png32, gif, jpg, jpg-baseline, webppng is 8-bit like Google.
markersnostyles|locationssize, color, label, scale; repeat the parameter for several groups.
pathnostyles|locations or enc:polylineweight, color, fillcolor (with alpha), geodesic.
visiblenolocationsPoints the map keeps in view.
languagenoBCP 47 tagLabel language where the basemap has one.
key, signaturenoanyAccepted 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.

Mail signature or event invitation: one place, one pin, before and after
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">
PDF or print: several sites, labeled, map fits them itself, before and after
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">
Open Graph preview (1200x630 at scale 2): a route as a geodesic line, before and after
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">
Area: a filled polygon, labels in Japanese, before and after
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 key or signature is 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. format takes png (default), png32, gif, jpg and webp.
  • maptype=satellite, hybrid and terrain draw the street map. style takes our style names (siemens, minimal, contrast, bold) and colorScheme=dark the dark scheme; Google’s feature-rule style, map_id and custom marker icons are not reproduced; the response header X-Maps-Unsupported names them. The parameter table below lists everything supported.