Hello,

I'm using the markerlight class and I need to add tooltip on mouse over 
event.
I've read previous post regarding this issue but I couldn't manage to 
trigger the event.

The previous post:

Mike,
Tooltips with MarkerLight work like a charm.

Thanks for the assistance in getting me headed in the right direction.
Your tutorials are a great reference and starting point.  After a few
minor JS adjustments in addition to your suggestions, all works well.



On Feb 28, 12:55 pm, Lance Dyas <[email protected]> wrote:
> Mike Williams wrote:
> > Wasn't it buster who wrote:
>
> >> I tried to extend MarkerLight to display ToolTips, following your
> >> tutorial.
> >> The MouseOver event listener does not fire.
> >> see my notes in the code.
>
> > You could add mouseover and mouseout support to the markerlight.js code
> > by adding these lines after the code that triggers the click.
>
> >   GEvent.addDomListener(div, "mouseover", function(event) {
> >     GEvent.trigger(me, "mouseover");
> >   });
>
> >   GEvent.addDomListener(div, "mouseout", function(event) {
> >     GEvent.trigger(me, "mouseout");
> >   });
>

Markerlight class:

http://code.google.com/p/pamelafox-samplecode/source/browse/trunk/petition_world/js/maptooltip.js?r=184


Many thanks,

Elad.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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.

Reply via email to