Embedded Google Place Map Boiler Plate

Confused about how to embed a google map of your google place or listed business? It’s annoying to have to work your way through google maps V3 API so I’ve written this little boiler plate which allows you to embed a map based on its place id. Additionally all you need to get going is the starting latitude and longitude of your map. You can search any google place id using this tool. Neat.

2 responses to “Embedded Google Place Map Boiler Plate”

  1. Todd says:

    you might know how to do this… I’m trying to embed Places Details the same way as embedding StreetView map and coming up no luck.

    works great:

    doesn’t work:
    wrapping an iframe around this sample from https://developers.google.com/places/web-service/autocomplete

    https://maps.googleapis.com/maps/api/place/autocomplete/xml?input=Amoeba&types=establishment&location=37.76999,-122.44696&radius=500&key=YOUR_API_KEY

    any ideas? thanks

  2. Gareth Weaver says:

    When you make your map you’ll probably have to pass in an object for pov including a heading and pitch value while also setting the zoom level to 14.

    See here: https://developers.google.com/maps/documentation/javascript/examples/streetview-simple

Leave a Reply