Reputation: 1715
I have a google map on my page, i am displaying multiple markers on my map with infowindow attached to each marker, when i click on a marker its related infowindow opens & displays information for the marker.
I have a button in infowindow which updates related status of marker & upon update i change the markericon.
So, how do i get exact marker object of infowindow in which the button is clicked.
Note that there may multiple infowindows open at a time.
Thanks.
Upvotes: 7
Views: 3873