/kb

personal knowledgebase

Archive for the ‘map’ tag

Removing info bubble from Google Map, and keeping placemark

with one comment

UPDATE: Apparently this solution does not work anymore. I did a quick search, and it seems this could be a working solution.

Default behavious is to show the information bubble when embedding a Google Map in your web page. Some times this is not a desired behaviour, and you only want to show the placemark. After a little digging this Google Groups thread provided a very simple solution to the problem.

Add the iwloc-parameter with value near. Here’s an example:
View Larger Map
View Larger Map

So the string to insert is

&iwloc=near

somewhere in between. Take a look at my source code if you’re unsure.

Written by hgrimelid

March 26th, 2009 at 11:05 am

Posted in General

Tagged with , , ,