Can we display only one infowindow at a time in google map with multiple infowindows for multiple markers.
Means , hide/close other infowindows when i click on a marker & display only current marker infowindow.
Thanks.
Can we display only one infowindow at a time in google map with multiple infowindows for multiple markers.
Means , hide/close other infowindows when i click on a marker & display only current marker infowindow.
Thanks.
The way I solved it is as follow
Here is the javascript code i have used when displaying single marker at a time.
After a search of almost 3 hours i figured it out and in a simple way if you add multiple markers in this way
I played around with your code for a bit and ended with this :
Notes:
updateCustomerStep
will need to be modified to have formal variables (marker, stage).