>Suggestions and Feature Requests>distance between points on a course
The Year of the Monkey
Creating a marathon distanced map is nearing the point of being unusable.
I'm running somewhere tomorrow. It's going to be beautiful. I can't wait.
Go to http://certainintelligence.blogspot.com for my blog.
I resemble that remark
I was thinking about this very problem. Eric, is there a way to limit the polyline you draw to just those segments that show up onscreen at the current zoom level? For example, if I am drawing a marathon course and am down to the street level at mile 14, I don't need to see the first 12 miles, and they are offscreen anyway. But that they exist still slows down the drawing of the next point and the next point and so on.
Aha! I wondered why my bicycling routes were a bit more ponderous to plot.
I went through several implementations for the route display feature. One of them was limiting the number of map markers displayed. Although reducing the number of elements on the map will improve performance, it ends up with a wash because the bottleneck is shifted to determining which element should be displayed as you pan around on the map.