in the google labeledMarker code there is something like this
function newEventPassthru(obj, event) {
return function() {
GEvent.trigger(obj, event);
};
}
// Pass through events fired on the text div to the marker.
var eventPassthrus = ['click', 'dblclick', 'mousedown', 'mouseup',
'mouseover', 'mouseout','dragstart','drag','dragend'];
for(var i = 0; i < eventPassthrus.length; i++) {
var name = eventPassthrus[i];
GEvent.addDomListener(this.div_, name, newEventPassthru(this,
name));
}
it pass the event we set to labeled marker
Is there a way to pass a map default Event to labeledMarker ? - cuz
if this working i might use labeledMarker for the guide
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---