LocationDescription

data class LocationDescription(var name: String = "", var location: LngLatAlt, var opposite: Boolean = false, var locationType: LocationType = LocationType.Country, var description: String? = null, var typeDescription: TextForFeature? = null, var source: LocationSource = LocationSource.UnknownSource, var orderId: Long = 0, var databaseId: Long = 0, var feature: Feature? = null, var alternateLocation: LngLatAlt? = null, var featureName: TextForFeature? = null)

Constructors

Link copied to clipboard
constructor(name: String = "", location: LngLatAlt, opposite: Boolean = false, locationType: LocationType = LocationType.Country, description: String? = null, typeDescription: TextForFeature? = null, source: LocationSource = LocationSource.UnknownSource, orderId: Long = 0, databaseId: Long = 0, feature: Feature? = null, alternateLocation: LngLatAlt? = null, featureName: TextForFeature? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Although the formatting of the address is not hugely time consuming, it adds up and so in Places Nearby the processing is deferred to the point at which the location information is displayed. The display uses a LazyColumn so even if there are hundreds of items in the list only the ones appearing on screen will need to call process.