Missing or invalid locations

What a visitor sees when the URL has no usable location.

Live map

Code

HTML
<iframe
  src="https://maps.siemens-cdn.com/maps/embed/v1/place"
  title="Map without a location"
  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/place?q=95,200"
  title="Map with coordinates out of range"
  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

NameRequiredValuesNotes
qyes"lat,lng" or an addressCoordinates are drawn directly. An address is resolved once by our /geocode and cached.

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.

iframe before and after, no q
  <iframeRemoved: -   src="https://www.google.com/maps/embed/v1/place?key=API_KEY"Added: +   src="https://maps.siemens-cdn.com/maps/embed/v1/place"    title="Map without a location"    width="600"    height="450"    style="border:0"    loading="lazy"    allowfullscreen    referrerpolicy="no-referrer-when-downgrade"></iframe>
iframe before and after, q=95,200
  <iframeRemoved: -   src="https://www.google.com/maps/embed/v1/place?key=API_KEY&q=95,200"Added: +   src="https://maps.siemens-cdn.com/maps/embed/v1/place?q=95,200"    title="Map with coordinates out of range"    width="600"    height="450"    style="border:0"    loading="lazy"    allowfullscreen    referrerpolicy="no-referrer-when-downgrade"></iframe>
Response header of your page
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 frame never stays empty: it shows a world map and a short note. Google shows an error page in the frame instead.
  • Better still, do not render the iframe at all when a record has neither coordinates nor an address.