I'm moving from infoWindow
to infoBox
for better looking info windows.
I have a number of markers on the map. What I want to do is when one infoBox
is already opened, if the user clicks on other markers, the current infoBox
will close automatically and new infoBox
will open so that the user does not need to close the current infoBox
, and there will always be only one infoBox
displayed at a time.
Here's the demo and code of my current solution http://jsfiddle.net/neo3000ultra/9jhAy/
Thanks in advance!