It used to draw direct shortest path from current location to Mecca location. Setting geodesic to true fixes the issue.
Definition of Geodesic
/// Indicates whether the segments of the polyline should be drawn as geodesics, as opposed to straight lines
/// on the Mercator projection.
///
/// A geodesic is the shortest path between two points on the Earth's surface.
/// The geodesic curve is constructed assuming the Earth is a sphere
It used to draw direct shortest path from
current
location toMecca
location. Settinggeodesic
to true fixes the issue. Definition ofGeodesic
Below is the example from Toronto/Canada
Before
After