Doubts about using dynamic maps

Posted on

Question :

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
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:


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?


Answer :

Try to make the URL in this format:<CEP_COM_TRACO>,%20Brasil&output=embed

An example of how it would look:,%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!


Leave a Reply

Your email address will not be published. Required fields are marked *