We have custom marker using Goodle.maps.OverlayView() (creates div with
our custom html) and marker events are triggered when events on the DIV is
triggered (shown below)
*this*.DOMEventHandle.push( google.maps.event.addDomListener(*this*.div_,
"mouseover", *function*() {
google.maps.event.trigger(marker, "mouseover");
}));
*this*.DOMEventHandle.push( google.maps.event.addDomListener(*this*.div_,
"mouseout", *function*() {
google.maps.event.trigger(marker, "mouseout");
}));
panes = *this*.getPanes();
panes.overlayImage.appendChild(*this*.div_);
Now the problem is when I move the mouse on the marker and circle or move
around inside the marker, I see mouseover and mouseout evevts are fired.
this kind of creates flickering effect on the custom tooltip that we are
showing. how to control the custom markers mouseover area?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/gfzJ3uqzFs4J.
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-js-api-v3?hl=en.