Site maps for location pages
A location page shows its site with one embed line: buildings with their numbers, reception, entrances (marked when step-free), parking and the nearest stops. It works on a phone at the gate and sends no visitor to a map vendor.
Live: Siemens Campus Erlangen
The same template shows Siemensstadt Square in Berlin.
Before and after on a location page
The address stays. The Google links and the PDF go; the iframe takes their place. Add https://maps.siemens-cdn.com to frame-src of your page’s Content Security Policy, as for any embed.
<p>Siemens AG, Siemenspromenade 10, 91058 Erlangen</p>Removed: - <a href="https://maps.app.goo.gl/<link>">Open in Google Maps</a>Removed: - <a href="https://maps.app.goo.gl/<link>">Directions to the car park</a>Removed: - <a href="/standortplan-erlangen.pdf">Site plan (PDF)</a>Added: + <iframe src="https://maps.siemens-cdn.com/showcases/campus/?site=erlangen" title="Site map" width="600" height="450" style="border:0" loading="lazy" allow="fullscreen"></iframe>
Deep links
| Parameter | Values | What it does |
|---|---|---|
site | erlangen, siemensstadt | The site. Default erlangen. |
building | a place id, e.g. sp10, reception, hsw3-a | Opens the map on that building or place and names it in the panel. A meeting invitation can link ?site=erlangen&building=sp10. |
3d | 1 | Buildings in 3D, tilted. |
colorScheme | auto, light, dark | As on the embed. Default follows the visitor. |
center, zoom, bearing, pitch | numbers | Written by the page when the visitor moves the map, so a copied link shows the same view. |
<iframe src="https://maps.siemens-cdn.com/showcases/campus/?site=erlangen&building=reception" title="Site map" width="600" height="450" style="border:0" loading="lazy" allow="fullscreen"></iframe>
Accessibility
- Every place is in a list next to the map. Each one is a button: Tab to it, Enter selects it, the map moves there and a screen reader hears its name, address and whether it is step-free.
- Back and forward step through the places a visitor selected.
- Light and dark follow the visitor’s setting. A step-free entrance has a thick ring, not only a color.
Where the data comes from
Only from OpenStreetMap (ODbL, credited on the map) and from what Siemens already publishes, such as the public Erlangen site plan. Nothing goes on a site map that is not public already: no floor plans, no security details. A new site is one small GeoJSON file; see the showcases and the repository’s docs/campus-maps.md.