With track features it is quite quick to find the point(s) on tracks nearest to the current time - then calculate the range and bearing.
For non-track line/linestring features we have to work out the nearest point along that line from the current primary track location, which is more computationally expensive.
See if we can optimise this performance.