I developed my own GPS navigation application with track save/load
functions last year, I found if there are 2000+ track segment overlays
displayed in the view, the performance will be very bad especially during
panning. I use 2 tricks to improve the performance drastically:
1. Dynamically calculate the visible area and display only tracks in that
area. Using extra area range(like 2x) is the good way to display all
visible track when user pan the map.
2. If number of track overlays exceed 500, regenerated the track and skip
the intermediate track points to ensure the performance. After several
tests, I found 500~800 segments is sufficient to display a smooth track.
Hope it helps.
Original issue reported on code.google.com by aca...@gmail.com on 7 May 2010 at 11:51
Original issue reported on code.google.com by
aca...@gmail.com
on 7 May 2010 at 11:51