If speed & accuracy are important, look at:
www.polyarc.us/pack
www.polyarc.us/packer.js
It uses integer arithmetic for speed. It eliminates Lat/Lon
projection bias for accuracy. It has no function calls in the main
loop. It converges quickly with multiple pivots in the same pass. It
compensates for a Douglas-Peucker algorithm deficiency (D-P was
designed for polylines not for polygons).
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---