On Mar 28, 7:33 am, Thoern <turbokil...@gmail.com> wrote: > Is there some call or so in the API to check which index is selected > once clicking a marker?
There is no API call to do that. You can store that information as a property of the marker as I suggested in my original answer: marker = new google.maps.Marker({ position: new google.maps.LatLng(locations[i][2], locations[i][3]), map: map }); marker.myMarkerIndex = i; ... The best answer to your question will depend on _why_ you want that information and what you need it for. -- Larry -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.