28.02.2010, 13:53
(28.02.2010, 13:35)bekker Wrote: I also suggest when implementing this, to do the intermediate point calculation for each selected point in turn and first decimate the generated intermediate points before moving up to the next waypoint.
Good idea, but actually the intermediate point calculation is done in JavaScript in the browser (see BaseMapView#insertWaypoints) with the help of the Google Maps API - with some very tricky multithreading code at the interface to the Java side

And the Douglas-Peucker Algorithm is implemented in Java, see Positions#douglasPeuckerSimplify ...
--
Christian
Christian
