Hi,

  I'm designing an application where I have to load lots of polylines 
(trails).  I designed a php server that returns the geometry only on the 
current map extent.  The data is simplified per zoom level.

  From zoom level 0 to 7, no big deal (loading only 'international' 
trails).  At level 8, I start loading 'regional' trails, which can gives 
1500-2000 polylines.  Theses must be destroyed when the map zoom level 
changes (since the geometry is simplified/zoom level).  Currently, I 
remove/destroy each polyline one by one because I can't 
"clearAllOverlays" since I have other overlays I want to always keep.

  So, I'm seeking knowledge/tip/example about how to implement what I'm 
trying to do more quickly.  Could I use a GLayer and put all the 
Polylines there and flush them from there ?  Is there a way to 
"clearAllOverlays" on one kind only (polyline) ?  Even more, are 
1500-2000 polylines too much ?

  Many thanks,

-- 
Alexandre Dubé
Mapgears
www.mapgears.com


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