Embed a map in 1 minute
Two steps: put the iframe on your page and allow the host in your page’s Content Security Policy. The URL takes the same parameters as Google’s Embed API.
1. Paste the iframe
<iframe
src="https://maps.siemens-cdn.com/maps/embed/v1/place?q=28.50968,77.08316&zoom=15&colorScheme=auto"
title="Partner location map"
width="600"
height="450"
style="border:0"
loading="lazy"
allowfullscreen
referrerpolicy="no-referrer-when-downgrade"></iframe>
Change q to your coordinates or an address. zoom uses Google’s scale from 0 (world) to 21 (building).
2. Allow the host in your CSP
Content-Security-Policy: frame-src 'self' https://maps.siemens-cdn.com
Add the host to frame-src of every policy your site sends, the report-only one too. Nothing else is needed: tiles, fonts and lookups load inside the frame.
Where the map shows
The map answers with a frame-ancestors policy: it shows inside pages on siemens.com and *.siemens.com, in Siemens apps on *.siemens.zone and on localhost for development. Opened directly in the browser, every map URL works anywhere.
Next steps
- Coming from Google? Migrate from Google.
- Pick a look: styles and dark mode.
- All parameters: embed URL reference. Ready-made examples: samples.
- No iframe wanted? Use the web component.