Added path tracking to polyline