Skip to content

Instantly share code, notes, and snippets.

@demeyere
Created December 28, 2012 18:02
Show Gist options
  • Save demeyere/4400328 to your computer and use it in GitHub Desktop.
Save demeyere/4400328 to your computer and use it in GitHub Desktop.
Remove the bubble from a Google Maps iframe.

barbara schendel wrote:

Hey all, this is not a question, but rather I just thought I would share this handy little trick I learned. I have a site that has a google map for each of the store's locations. But the embedded map itself is not large so that little location bubble that pops up is always cut off and looks dumb.

Well I learned this handy trick. In the map embed code, look near the end of the src of the iframe, it says iwloc=A --- this is the culprit. Change the A to say near so that it now says iwloc=near

In context, it looks like this

 <iframe src="...blahblahblahcode...0.02326&amp;z=14&amp;iwloc=near&amp;output=embed"></iframe>

This will just show the little pin on the location but remove the big dumb bubble.

Just thought that might be useful for someone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment