Google Maps add a placecard

Sam picture Sam · Apr 15, 2016 · Viewed 7.3k times · Source

Is it possible to add a place card on Google maps like in this example: http://www.haydensinrye.co.uk/Haydens/Find_Us.html?

I couldn't find a reference to this in the Google Maps API documentationn.

I'm using this method to embed my map (under "Code Examples").

Answer

kaskader picture kaskader · Apr 15, 2016

The site you linked to uses Google Maps Embed. There is no way to get the same in the Google Maps API JS v3 automatically

For embed, an example on how to use it is:

   <iframe
      width="600"
      height="450"
      frameborder="0" style="border:0"
      src="https://www.google.com/maps/embed/v1/place?key=YOUR_API_KEY
        &q=Space+Needle,Seattle+WA" allowfullscreen>
    </iframe>