On Jan 4, 4:04 pm, sandy037 <[email protected]> wrote: > I am essentially showing all the user selections on the map. I will > have to think if I can load the polylines on demand. But the problem > is that, all these polylines (say some 10000) are confined to some > area like a medium sized city. So I dont know how to render them on > demand. Thats why I had asked for any clustering technique if you > could help me with. > > Each polyline does not contain more than 5-10 points. I have seen the > demos but they have huge number of points on each polyline which is > not the case with my thing.
You could display different amounts of detail at every zoom level but you will have to have separate sets of poly definition files. Otherwise, I believe your files will be too large to be practical. If you are able to squeeze everything into a 100K file, you ought to be OK. PolyCluster already does point reduction depending on zoom level. I am working on a way to do clustering depending on zoom level but it cannot be automatic the way it is with markers. It is easy to group markers according to proximity but polys have to be grouped according to importance. Each zoom level requires additional information to display additional polys at its level of detail. It is identical to the way Google builds map tiles. Low level tiles cover a large space with little detail. High level tiles cover a small space with much detail. -- 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 [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-js-api-v3?hl=en.
