Hi,
I would like to add mouseover, click and doubleclick listeners to my
markers but the doubleclick doesn't work with the mouseover and click.
If I remove the mouseover or the click the doubleclick works but I
can't seem to get all three working, any ideas why?
function createMarker(point,name,html) {
var marker = new GMarker(point);
GEvent.addListener(marker, "mouseover", function() {
marker.openInfoWindow(html);
});
GEvent.addListener(marker, "click", function() {
dotherest(point);
});
GEvent.addListener(marker, "dblclick", function() {
multiLOS();
});
READER.gmarkers[READER.icount] = marker;
READER.side_bar_html += '<a href="javascript:myclick(' +
READER.icount + ')">' + name + '</a><br>';
READER.icount++;
return marker;
};
--
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.