Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide the address balloon in the Google Maps embedded iframe?

Tags:

google-maps

I need to place a Google Maps embed map in a website. I setup the map on Google Maps website, copied the given <iframe> embed code and put it in my page.

The space for the map it's very limited, so I want to hide the address balloon from it, but leaving the red placeholder. I mean the huge white balloon with the place address in the center of the map.
You can see it here. This is the exact URL used in my <iframe src>.

I've tried to click the Customize and preview embedded map link under the given code, but I see no options to remove the balloon. If I remove in from the map preview, the code is not updated.

like image 546
lorenzo-s Avatar asked Dec 20 '11 15:12

lorenzo-s


2 Answers

I found the solution myself. A special parameter value is needed in the map URL:

&iwloc=near

Result here.

like image 102
lorenzo-s Avatar answered Sep 21 '22 04:09

lorenzo-s


just add
&iwloc=1 in iframe src

like image 34
Manoj Prajapat Avatar answered Sep 22 '22 04:09

Manoj Prajapat