ReverseGeocoderOptions
Reverse Geocoding request options.
Reverse geocoding options are used to specify the parameters of a reverse geocoding request. They consist of a position and optional parameters such as heading, radius, roadUses, areaTypes, locale, preferClosestAccurateAddress, and fetchGeometry.
To specify reverse geocoding options, create an instance of ReverseGeocoderOptions class:
val reverseGeocoderOptions = ReverseGeocoderOptions(
position = GeoPoint(52.377271, 4.909466),
heading = Angle.Companion.degrees(90.0),
radius = Distance.Companion.meters(1000.0),
areaTypes = setOf(AreaType.Municipality),
locale = Locale.ENGLISH,
preferClosestAccurateAddress = false,
fetchGeometry = false
)
Constructors
Constructs a ReverseGeocoderOptions object with the given parameters.
Types
Properties
Specifies if geometry shapes should be fetched for reverse geocoding results, where available.
Determines whether the closest accurate address is preferred over the address with the closest navigable coordinates.
The maximum distance from the specified position that the reverse geocoder will search within. Defaults to DEFAULT_RADIUS.
Functions
Creates a copy of this ReverseGeocoderOptions object with optional parameter overrides.