user1048676
user1048676

Reputation: 10066

Google Maps Embed into Site without Popup window

I'm using the following code to embed a Google map into my page:

http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Chicago+IL&z=15&iwloc=A&output=embed

This works fine, but when it loads this it automatically opens up a box with the address and get directions etc. Is there anyway to load this without having the popup window load as well?

Upvotes: 18

Views: 13959

Answers (1)

user1048676
user1048676

Reputation: 10066

I just had to change the value of iwloc to be near. So now the embed URL looks like this:

http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Chicago+IL&z=15&iwloc=near&output=embed
                                                                            ^^^^^^^^^^

This allows the pop up window to not appear.

Upvotes: 38

Related Questions