Package com.tomtom.sdk.common.location
Types
Link copied to clipboard
data class Address( val streetNumber: String = "", val streetName: String = "", val municipalitySubdivision: String = "", val municipality: String = "", val countrySecondarySubdivision: String = "", val countryTertiarySubdivision: String = "", val countrySubdivision: String = "", val postalCode: String = "", val extendedPostalCode: String = "", val countryCode: String = "", val country: String = "", val countryCodeIso3: String = "", val freeformAddress: String = "", val countrySubdivisionName: String = "", val localName: String = "", val streetNameAndNumber: String = "", val postalName: String = "", val countrySubdivisionCode: String = "", val neighborhoodName: String = "")
Content copied to clipboard
Describes the detailed address.
Link copied to clipboard
Implementation of the GeoCoordinate with a radius.
Link copied to clipboard
data class GeoBoundingBox(val topLeft: GeoCoordinate, val bottomRight: GeoCoordinate)
Content copied to clipboard
Represents a bounding box for the map. It's defined in the WGS84 format.
Link copied to clipboard
Represents geographical bounds determined by the given list of GeoCoordinate elements.
Link copied to clipboard
data class GeoCoordinate(val latitude: Double, val longitude: Double) : Parcelable
Content copied to clipboard
The implementation of geographic coordinates.
Link copied to clipboard
data class GeoLineSegment(val begin: GeoCoordinate, val end: GeoCoordinate)
Content copied to clipboard
Implementation of a line segment that represents a line between the two geographic coordinates.
Link copied to clipboard
data class GeoLocation( val position: GeoCoordinate, @FloatRange(from = 0.0) val accuracy: Double? = null, @FloatRange(from = 0.0, to = 360.0) val course: Double? = null, val speed: Double? = null, val altitude: Double? = null, val time: Long = System.currentTimeMillis(), val provider: String = DEFAULT_PROVIDER, val providerType: LocationProviderType = LocationProviderType.REALTIME, val extras: Bundle? = null)
Content copied to clipboard
Geographical representation of a certain location. It provides additional attributes like speed or bearing what can be useful in navigation applications.
Link copied to clipboard
The source that provides the location.
Link copied to clipboard
data class Place( val coordinate: GeoCoordinate, val name: String = "", val address: Address? = null)
Content copied to clipboard
Structure holding information about a specific place.