On Nov 17, 7:01 am, Susi <[email protected]> wrote: > Hi > > How can I reduce number of points displayed on the Map in each Zoom > level, but same time want to retain the fedility of the shape. > I have gone through the Douglas - Peucker algorithm to reduce the > number of the polygons. But we need to provide the tolerance as > argument.
I suggest looking at encoded polylines, which will do this for you. But don't use Google's documentation, it doesn't explain how they work and actually provides sub-standard examples. Search the group for a link to Prof Mark McClure's pages, which are authoritative. Even if you choose not to encode your lines, he explains DP well. Andrew Sorry I can't give a link myself: my current browser (Opera Mini) is rather limited. -- 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=.
