Onclick on Google map marker but not when panning the map -
Onclick on Google map marker but not when panning the map -
i'm using (javascript):
google.maps.event.adddomlistener(new_marker, 'click', function(e) { alert("hi"); });
but don't want trigger when user moves map, , happened while clicking on marker. clear: want code run when user clicked on marker, without moving map. how can that?
google-maps-api-3
Comments
Post a Comment