This question is locked. New answers and comments are not allowed.
Hello, I use RadMap for showing of car activity from GPS trackers. But, our customers request of several feature.
First, they want a car track with gradient fill of car speed like this http://s48.radikal.ru/i122/1007/95/f043f9605fc4.png (or look to attached file) - this polyline contain some points, line between point N and N+1 must be showed as gradient from speed in point N and speed in point N+1. In this image speed variation from 5-10 km/h (green color) to 70-90 km/h (red). I'm looking to RadMap sources and can't found any samples for achievement this goal. Now, I can show polyline only with solid color. Should I use MapPathSegment or make inherited class from MapShape and drawing segments manual ?
My second question, how I can optimize drawing of big polyline? One polyline with ~2000 points (filled with solid color) showed nicely, but some map panning is slowly. How many points per one polyline is optimal? I try split big polyline to 10-20 polylines (with 100-200 points per line), but no speed up found.
Thank you for very useful control!
First, they want a car track with gradient fill of car speed like this http://s48.radikal.ru/i122/1007/95/f043f9605fc4.png (or look to attached file) - this polyline contain some points, line between point N and N+1 must be showed as gradient from speed in point N and speed in point N+1. In this image speed variation from 5-10 km/h (green color) to 70-90 km/h (red). I'm looking to RadMap sources and can't found any samples for achievement this goal. Now, I can show polyline only with solid color. Should I use MapPathSegment or make inherited class from MapShape and drawing segments manual ?
My second question, how I can optimize drawing of big polyline? One polyline with ~2000 points (filled with solid color) showed nicely, but some map panning is slowly. How many points per one polyline is optimal? I try split big polyline to 10-20 polylines (with 100-200 points per line), but no speed up found.
Thank you for very useful control!