I have a function that loads zipcode polygon bounds as kml onto a map
on idle.  My function determines what zips are in the viewport, then
gets the zips' polygon information and displays it on the map.
Eventually, I'd like to make the colors of the zips hot/cold depending
on users' criteria.

http://www.tatokia.com/maps/foo.tt2?zip=02215

Obviously, when the viewport changes I get into trouble.  Depending on
whether or not I load the kml layer on bounds_changed, idle,
tiles_loaded, or zoom_changed I get slightly different results when
changing the viewport.  But still not what I want.

I'm unsure of how to approach this problem.  Do I need to keep track
of what zips I've loaded and only paint the new ones that come into
the viewport?  Do I need to I need to remove the kml later and then
set it again?  Any tips would be greatly appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to