Search code examples
javascriptgoogle-mapsgoogle-maps-api-3google-street-view

Is there a way to make embedded Google Maps a static non clickable image?


Unfortunately, on a site that I'm working on, the StreetView image of the business premises is out of date and not very flattering of the business.

Is there any way to make (via the Maps API) the map image a static image, which doesn't link to the full Google Maps page showing the StreetView image?

I'm trying to avoid manually embedding an image as I want to be able to do this programmatically.

Thank you. Prembo.


Solution

  • Yep, take a look at the static maps api. There is an example of exactly what you need.

    https://developers.google.com/maps/documentation/staticmaps/