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.

Location page: links out become one embed line
  <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>
ParameterValuesWhat it does
siteerlangen, siemensstadtThe site. Default erlangen.
buildinga place id, e.g. sp10, reception, hsw3-aOpens the map on that building or place and names it in the panel. A meeting invitation can link ?site=erlangen&building=sp10.
3d1Buildings in 3D, tilted.
colorSchemeauto, light, darkAs on the embed. Default follows the visitor.
center, zoom, bearing, pitchnumbersWritten by the page when the visitor moves the map, so a copied link shows the same view.
HTML: open on the reception
<iframe src="https://maps.siemens-cdn.com/showcases/campus/?site=erlangen&amp;building=reception" title="Site map" width="600" height="450" style="border:0" loading="lazy" allow="fullscreen"></iframe>

Accessibility

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.