Hey Guys,

I have a sample where I use a polygon to select markers on a map. When
you edit the polygon, it will change the icon of all the markers to
green that are inside the polygon. It worked great yesterday, but
today, the event seems to be firing before the vertices are updated.
The result is that you have to update the polygon again to include the
newly selected markers.

I tried adding a 50ms setTimeout before doing the update and it works
great, but it is a hack and I'd like to think this is a bug in the
Google maps API. What if the delay becomes greater than 50ms?

Please take a look and feel free to tell me I'm doing something wrong,
if I am ;)

You can see the source here: http://dawsdesign.com/Samples/GIS/

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