Lazy loading
loading="lazy" defers the map until a visitor scrolls near it.
Live map
Scroll down. The map below starts loading only when it gets close to the viewport.
loaded when scrolled into viewOpen this map on its ownCode
<iframe
src="https://maps.siemens-cdn.com/maps/embed/v1/place?q=28.50968,77.08316&zoom=13"
title="Partner location in Gurgaon, loaded lazily"
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.
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/place?key=API_KEY&q=28.50968,77.08316&zoom=13"Added: + src="https://maps.siemens-cdn.com/maps/embed/v1/place?q=28.50968,77.08316&zoom=13" title="Partner location in Gurgaon, loaded lazily" 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
- Browsers start loading a lazy iframe shortly before it enters the viewport. A map nobody scrolls to costs nothing: no page, no tiles, no geocode call.
- If your page already sets
loading="lazy"on the Google iframe, keep it when you switch hosts.