Monday, 9 September 2013

Adding click event to a content of a google map marker

Adding click event to a content of a google map marker

My marker looks looks following
var marker = new window.google.maps.Marker({
position: markerlatLng,
title: title,
map: map,
draggable: false,
content: contentString,
animation: window.google.maps.Animation.DROP
});
we know that how to add click event to a marker. But now I need to add a
click event to content property of the marker. Is there any way to do
it???

No comments:

Post a Comment