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 geopoliticalView: GeopoliticalView? = null, val preferClosestAccurateAddress: Boolean = false, val fetchGeometry: Boolean = false)
Defines the parameters of a Reverse Geocoding query.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Link copied to clipboard
fun ReverseGeocoderOptions(position: GeoPoint, heading: Angle? = null, radius: Distance = DEFAULT_RADIUS, roadUses: Set<RoadUse> = emptySet(), areaTypes: Set<AreaType> = emptySet(), locale: Locale = Locale.getDefault(), geopoliticalView: GeopoliticalView? = null, preferClosestAccurateAddress: Boolean = false, fetchGeometry: Boolean = false)
Types
Properties
Link copied to clipboard
This parameter specifies the level of filtering performed on geographies. Providing this parameter narrows the search to specified geography entity types. The resulting response will contain the geography ID as well as the matched entity type. This ID is a token that can be used to get the geometry of that geography. The following parameters are ignored when entityType is set: heading, roadUses
Link copied to clipboard
The maximum distance from the specified position that the reverseGeocoder will deliver results for. Defaults to DEFAULT_RADIUS