Returns the distance between 2 latitude and longatude coordinates.
List with [latitude, longatude]. Latitude must be between -90 and 90 degrees. Longatude must be between must be between -180 and 180 degrees.
The distance between the 2 points in kilometers.
Checks if the user allows the app to access their location.
true if enabled, false otherwise
Request access to user location data.
true if permission is granted, false otherwise.
Interface for retrieving the device's location.