bearing abstract method
double
bearing(
- dynamic toDestination, {
- DistanceAlgorithmType algorithm = DistanceAlgorithmType.Haversine,
Calculate bearing from current center of the map to toDestination
.
toDestination
the destination location to calculate the bearing
algorithm
calculation algorithm to be used.
Available values DistanceAlgorithmType.Haversine and
DistanceAlgorithmType.Vincenty
Default [DistanceAlgorithmType.Haversine]
Implementation
double bearing(
dynamic toDestination, {
DistanceAlgorithmType algorithm = DistanceAlgorithmType.Haversine,
});