I have mouseout in my map, but it doesn't work smoothly

On Mar 26, 12:20 pm, "[email protected]" <[email protected]>
wrote:
> On Mar 26, 9:15 am, ruzshams <[email protected]> wrote:
>
> > Is there an opposite of "mouseover" such as "mouse not over"?
>
> mouseout?http://code.google.com/apis/maps/documentation/reference.html#GMarker...
>
>
>
> > On Mar 26, 11:58 am, Andrew Leach <[email protected]>
> > wrote:
>
> > > On Mar 26, 3:48 pm, ruzshams <[email protected]> wrote:
>
> > > >http://www.geocities.com/rafayshams89/gmaps.html
>
> > > Thanks. You can make improvements to your code by defining *all* your
> > > polygons first. Just add the green ones to the map, and have the white
> > > ones in reserve for later.
>
> > > So you could have polygon_Brampton1 AND polygon_Brampton2 defined to
> > > start with. On mouseover of Brampton1, remove the polygon and add the
> > > Brampton2 polygon.
>
> > > If that still takes too long, don't bother removing the green polygon.
> > > Just add the white one and remove that on mouseout, revealing the
> > > green one still underneath.
>
> > > Currently, you are building the new white polygon after removing the
> > > green one, and that takes time. If it takes too long, the mouseout
> > > listener hasn't been added by the time the mouse has left the polygon,
> > > so moving the mouse out of the polygon doesn't do anything. The
> > > listener gets added at some point, ready for when you next mouseover/
> > > out of the white polygon.
>
> > > > i don't know how to add debugging tools
>
> > > Debugging tools are a different matter altogether, and are added to
> > > the browser itself, not your code. Firebug is an extension to Firefox,
> > > for example.
>
> > > Andrew- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to