Static Maps API
GET https://maps.siemens-cdn.com/maps/api/staticmap?<parameters> answers an image. Same path and parameters as the Google Maps Static API, without a key.
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. |
Beyond Google
| Name | Values | Notes |
|---|---|---|
style | siemens, minimal, contrast, bold | Our style names. Google’s feature-rule style is not reproduced. |
colorScheme | light, dark | auto renders light: an image cannot follow the visitor. |
projection | equalearth, naturalearth, robinson, winkeltripel | World images at zoom 0 to 2. |
Answers
- 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.
Guide: Static Maps. Sample: static map images.