Directions
A route between two or more places, with distance and travel time, from Google’s directions URL.
Live map
driving, avoid=tollsOpen this map on its ownmode=walkingOpen this map on its ownmode=transitOpen this map on its ownCode
<iframe
src="https://maps.siemens-cdn.com/maps/embed/v1/directions?origin=Reesbergstr.%201,%2036039%20Fulda,%20Germany&destination=49.57288,11.00253&avoid=tolls"
title="Driving route from Fulda to Erlangen"
width="600"
height="450"
style="border:0"
loading="lazy"
allowfullscreen
referrerpolicy="no-referrer-when-downgrade"></iframe>
<iframe
src="https://maps.siemens-cdn.com/maps/embed/v1/directions?origin=48.14428,11.57501&destination=Marienplatz,%2080331%20Munich,%20Germany&mode=walking"
title="Walking route in central Munich"
width="600"
height="450"
style="border:0"
loading="lazy"
allowfullscreen
referrerpolicy="no-referrer-when-downgrade"></iframe>
<iframe
src="https://maps.siemens-cdn.com/maps/embed/v1/directions?origin=48.14428,11.57501&destination=49.57288,11.00253&mode=transit"
title="Transit requested: stops and a notice"
width="600"
height="450"
style="border:0"
loading="lazy"
allowfullscreen
referrerpolicy="no-referrer-when-downgrade"></iframe>
Every map follows the visitor’s light or dark setting by default (colorScheme=auto). On these pages it follows the docs theme switch too.
Parameters
| Name | Required | Values | Notes |
|---|---|---|---|
origin | yes | "lat,lng" or an address | Start of the route. An address is resolved by our /geocode, like q in place mode. |
destination | yes | "lat,lng" or an address | End of the route, marked with the pin. |
waypoints | no | places separated by | | Up to 20 stops in between, lettered B, C, ... on the map. |
mode | no | driving, walking, transit, bicycling, flying | driving (the default) and walking get a route. The others show the stops and a visible notice. |
avoid | no | tolls, ferries, highways | tolls and ferries shape driving routes. highways is not available and says so. |
units | no | metric, imperial | Without it: miles for US, GB, LR and MM (from region or the language), else kilometers. |
zoom | no | 0 to 21 | Google's zoom scale. Default 15. Out-of-range values are clamped, fractions floored. |
language | no | BCP 47 tag, e.g. de, ja, zh-Hant | Label language where the basemap has one, else local names. Default: the browser language. |
key | no | any | Accepted and ignored. There is no API key; drop it when you migrate. |
Every parameter: embed URL reference.
Migrating from Google
Only the src line changes: the host becomes https://maps.siemens-cdn.com and key goes. Every other attribute and parameter stays identical. Then swap www.google.com for https://maps.siemens-cdn.com in your page’s frame-src, in the enforced and in the report-only policy. Full migration guide.
<iframeRemoved: - src="https://www.google.com/maps/embed/v1/directions?key=API_KEY&origin=Reesbergstr.%201,%2036039%20Fulda,%20Germany&destination=49.57288,11.00253&avoid=tolls"Added: + src="https://maps.siemens-cdn.com/maps/embed/v1/directions?origin=Reesbergstr.%201,%2036039%20Fulda,%20Germany&destination=49.57288,11.00253&avoid=tolls" title="Driving route from Fulda to Erlangen" width="600" height="450" style="border:0" loading="lazy" allowfullscreen referrerpolicy="no-referrer-when-downgrade"></iframe>
<iframeRemoved: - src="https://www.google.com/maps/embed/v1/directions?key=API_KEY&origin=48.14428,11.57501&destination=Marienplatz,%2080331%20Munich,%20Germany&mode=walking"Added: + src="https://maps.siemens-cdn.com/maps/embed/v1/directions?origin=48.14428,11.57501&destination=Marienplatz,%2080331%20Munich,%20Germany&mode=walking" title="Walking route in central Munich" width="600" height="450" style="border:0" loading="lazy" allowfullscreen referrerpolicy="no-referrer-when-downgrade"></iframe>
<iframeRemoved: - src="https://www.google.com/maps/embed/v1/directions?key=API_KEY&origin=48.14428,11.57501&destination=49.57288,11.00253&mode=transit"Added: + src="https://maps.siemens-cdn.com/maps/embed/v1/directions?origin=48.14428,11.57501&destination=49.57288,11.00253&mode=transit" title="Transit requested: stops and a notice" width="600" height="450" style="border:0" loading="lazy" allowfullscreen referrerpolicy="no-referrer-when-downgrade"></iframe>
Removed: - Content-Security-Policy: default-src 'self'; frame-src 'self' https://www.google.comRemoved: - Content-Security-Policy-Report-Only: default-src 'self'; frame-src 'self' https://www.google.comAdded: + Content-Security-Policy: default-src 'self'; frame-src 'self' https://maps.siemens-cdn.comAdded: + Content-Security-Policy-Report-Only: default-src 'self'; frame-src 'self' https://maps.siemens-cdn.com
Notes
- The route comes from Amazon Location (Esri data) through our own
/routeon the same host. Only the coordinates of the stops leave our infrastructure, never visitor data. A route is cached for at most 30 days, as the AWS terms allow. - The card shows the distance and travel time and a Route menu that opens the same trip in Apple Maps, Google Maps or OpenStreetMap.
- Partial: no transit, bicycle or flight routes and no highway avoidance. Walking routes are limited to 40 km. Each case shows a visible notice instead of a silent fallback.
- Without
centerthe map fits the whole route into the frame.