copy

fun copy(position: GeoPoint = this.position, heading: Angle? = this.heading, radius: Distance = this.radius, areaTypes: Set<AreaType> = this.areaTypes, locale: Locale = this.locale, preferClosestAccurateAddress: Boolean = this.preferClosestAccurateAddress, fetchGeometry: Boolean = this.fetchGeometry): ReverseGeocoderOptions

Creates a copy of this ReverseGeocoderOptions object with optional parameter overrides.

Return

The copied ReverseGeocoderOptions object.

Parameters

position

The geographical coordinates to be translated into a human-readable address.

heading

The directional heading of the vehicle in degrees while traveling on a road segment. North is 0 degrees, East is 90 degrees, etc.

radius

The maximum distance from the specified position that the reverse geocoder will search within. Defaults to DEFAULT_RADIUS.

areaTypes

Filters results to specific geographical area types. When areaTypes is set, heading is ignored.

locale

The language used for displaying results. If not provided, the system default language is used.

preferClosestAccurateAddress

Determines whether the closest accurate address is preferred over the address with the closest navigable coordinates.

fetchGeometry

Specifies if geometry shapes should be fetched for reverse geocoding results, where available.