Linking the waypoints to the nearest trackpoints (and thus distances) is computationally expensive. The user will likely alter the style many times to see the best formatting for the data on the particular trail. On longer tracks with lots of waypoints this roughly O(n^2). It could be sped up a lot by caching the waypoint distances in an intermediate file or by modifying the trackpoints to be bound to the waypoints (by xml extension or lookup table)
Linking the waypoints to the nearest trackpoints (and thus distances) is computationally expensive. The user will likely alter the style many times to see the best formatting for the data on the particular trail. On longer tracks with lots of waypoints this roughly O(n^2). It could be sped up a lot by caching the waypoint distances in an intermediate file or by modifying the trackpoints to be bound to the waypoints (by xml extension or lookup table)