On Mar 26, 3:13 pm, ruzshams <[email protected]> wrote:
> I am working with 3 Polygons.  initially all of them are green. When
> the user moves their mouse over any one of the polygons, that polygon
> turns white. I do this by removing the green polygon and adding the
> white polygon. Then when the user moves their mouse out of the
> polygon, it is supposed to turn back green( i achieve this by removing
> the white polygon and adding the green polygon), but sometimes if a
> user moves their mouse quickly over a polygon and out of the polygon,
> the polygon stays white.

This is the same query as you asked previously:
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/c484bfe336462383

> http://www.geocities.com/osito.polar/enableEditing2.html
>
> I want to be able to achieve something similar to this.

Er... do you? *That* example is about polygon editing, not removing
and adding.

> Any help in this regard will be appreciated. Should i post my code as
> well?

Please don't post code. Anyway, you already did. Why don't you get a
Geocities account like your example has and upload your page so we can
see. Most of us are from Missouri, even if we're English.

One thing you might consider is not removing the green polygon on
mouseover. Just add the white one on top of it. Then, when the mouse
moves out of the white polygon, remove it and reveal the green one.
But I don't know how efficient that's going to be without seeing it in
action.

Andrew

--~--~---------~--~----~------------~-------~--~----~
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