Package-level declarations

Types

Link copied to clipboard
data class Location(val latitude: Double, val longitude: Double, val accuracyMeters: Float? = null, val altitude: Double? = null, val altitudeAccuracyMeters: Float? = null, val mslAltitude: Double? = null, val mslAltitudeAccuracyMeters: Float? = null, val speedMetersPerSeconds: Float? = null, val bearing: Float? = null, val time: Long? = null, val provider: String? = null)

A generic model that represents a user location.

Link copied to clipboard
open class LocationValidator(accuracyThreshold: Int)

Functions

Link copied to clipboard

Converts our generic MapLibre location to an Android platform location.

Link copied to clipboard
fun Location.toAppleLocation(): CLLocation

Converts our generic MapLibre location to an Apple platform location.

Link copied to clipboard

Converts the Android platform location to our generic MapLibre location.

fun CLLocation.toLocation(): Location

Converts the Apple platform location to our generic MapLibre location.