Lamhot / php-google-map-api

Automatically exported from code.google.com/p/php-google-map-api
0 stars 0 forks source link

Auto closing the infowindows #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Before opening a new infowindow I would suggest adding the following to 
createMarker javascript function:

 if (window.lastInfoWindow) window.lastInfoWindow.close();
 window.lastInfoWindow= infowindow;

Or make this an optional setting.

Original issue reported on code.google.com by mob...@gmail.com on 28 Oct 2010 at 1:43

GoogleCodeExporter commented 9 years ago
A modified class attached.

Original comment by mob...@gmail.com on 28 Oct 2010 at 1:45

Attachments:

GoogleCodeExporter commented 9 years ago
I 100% agree that this is needed, I thought my version was broken with it 
leaving the bubbles open.

Original comment by indieki...@gmail.com on 11 Nov 2010 at 5:46

GoogleCodeExporter commented 9 years ago
Even with the patch it does not close old bubbles when the sidebar is used (and 
clicked).  Needs to be added to the sidebar code as well?

Original comment by rob.anto...@gmail.com on 15 Sep 2011 at 3:32

GoogleCodeExporter commented 9 years ago

Original comment by b...@mycnl.com on 25 Sep 2011 at 5:41

GoogleCodeExporter commented 9 years ago
Issue 30 has been merged into this issue.

Original comment by b...@mycnl.com on 25 Sep 2011 at 5:49

GoogleCodeExporter commented 9 years ago
Issue 46 has been merged into this issue.

Original comment by b...@mycnl.com on 25 Sep 2011 at 6:02