Polyline length computation and display