Doubts about using dynamic maps

3

My sister sells Avon and I decided to do something very simple that are her clients' records. So far so good, but I would like to add the Google Maps map on her site. I found the Google API but with a lot of things, what I want is simple thing, when opening the client registry has 3 tabs HOME | ADDRESS | MAP By clicking the tab map I would like that within the DIV or IFRAME or other element, show me the map of the client's address. It's a simple thing, something like this:

link

If I change the zip code and put the one from my street and copy the link and paste it into the browser it opens the link correctly, now if I put it inside a DIV or a IFRAME it does not load

How to solve?

    
asked by anonymous 29.01.2014 / 18:54

1 answer

1

Try to make the URL in this format:

https://www.google.com.br/maps?q=<CEP_COM_TRACO>,%20Brasil&output=embed

An example of how it would look:

https://www.google.com.br/maps?q=49100-000,%20Brasil&output=embed

This is because Google Maps Preview (new Google Maps) you are using needs to be used by someone who is logged in to Google and has agreed to test this new version!

I hope it helps!

    
29.01.2014 / 19:00