> So I need check whether a marker is already present at particular > GlatLng. If it is present I want append some data on info window of > that particular marker.
First define how close two markers need to be for them to be at the 'same place' ... 10cm? 1km? When adding a new marker, cycle through the existing markers calculating distance. If one is less than distance 'X', combine them. A lot of this work could be done for you if one of the clustering solutions is suited to your needs, but these are more about visual overlapping on the map rather than some physical nearness. One way to have the infowindow content extendable, would be to keep the content in an array linked to markers by index. Marker click listener would retrieve content from the array and use it build the infowindow. Then, when combining markers, you need only extend the array content. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
