ReverseGeocoderOptions

data class ReverseGeocoderOptions(val position: GeoPoint, val heading: Angle? = null, val radius: Distance = DEFAULT_RADIUS, val roadUses: Set<RoadUse> = emptySet(), val areaTypes: Set<AreaType> = emptySet(), val locale: Locale = Locale.getDefault(), val preferClosestAccurateAddress: Boolean = false, val fetchGeometry: Boolean = false)

Defines the parameters of a Reverse Geocoding request.

Constructors

Link copied to clipboard
constructor(position: GeoPoint, heading: Angle? = null, radius: Distance = DEFAULT_RADIUS, roadUses: Set<RoadUse> = emptySet(), areaTypes: Set<AreaType> = emptySet(), locale: Locale = Locale.getDefault(), preferClosestAccurateAddress: Boolean = false, fetchGeometry: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Filters results to the provided geography area types. The following parameters are ignored when areaTypes is set: heading, roadUses.

Link copied to clipboard
val fetchGeometry: Boolean = false

Fetches the geometry shapes for the provided reverse geocoding results. (where available)

Link copied to clipboard
val heading: Angle? = null

The directional heading of the vehicle in degrees when it is traveling along a segment of the roadway. Zero is North, 90 is East, and so on.

Link copied to clipboard

The language used to display the results. If not provided, the system default language is used.

Link copied to clipboard

The coordinate that will be translated into a human-readable address.

Link copied to clipboard

Gives the preference to the closest accurate address over the address with the closest navigable coordinates.

Link copied to clipboard

The maximum distance from the specified position that the reverse Geocoder will search in. Defaults to DEFAULT_RADIUS.

Link copied to clipboard

Filters results to roads with the intended usages.