add extended points calculation based on bearing
added polyline of pointA and pointB using extended points