Home > Software design >  Embed a map with satellite terrain active (iframe)
Embed a map with satellite terrain active (iframe)

Time:02-07

I have this iframe, generated in Google Maps.

<iframe src="https://www.google.com/maps/d/u/0/embed?mid=1ssxg5qgL8pDlVKV4Jcc4axK_O9s2DYm2&ehbc=2E312F" width="100%" height="480"></iframe>

I would like to know if it is possible force the map to be displayed with the satellite image activated. Thanks.

CodePudding user response:

Yes, it is possible, but you need to change it in MyMaps before you create the embedded <frame>. See: screenshot of example

The top map is your original, the bottom map is a copy with the base map changed "satellite".

To change the base map, click on "Base Map" in the left hand menu: screenshot of left menu

Then choose the image of the satellite tiles:

screenshot of satellite choice

Then share and capture the new embedded <iframe> with a potentially new URL (might actually be the same).

  •  Tags:  
  • Related