google.maps.event.addListener(marker, 'click', function () {
if (!infowindow) {
infowindow = new google.maps.InfoWindow();
}
infowindow.setContent("Message" + i + " </br>LatLng is:</br> " + ltlng[i]);
infowindow.open(mymap, marker);
});
Right now I am getting the lat lng of the clicked marker
I also want to diplay the location name in the infowindow.
Thanks.
...
Go to the complete details ...