Skip To Content ArcGIS for Developers Sign In Dashboard

GeocodeResult QML Type

The result class returned from a geocode or reverse geocode operation of a LocatorTask. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Detailed Description

Geocoding takes an address or place name, and converts it into real-world coordinates. Reverse geocoding does the opposite, and converts real-world coordinates into an address or place name. These operations are available on the LocatorTask class. Obtain this result from the LocatorTask::geocodeResults property once the LocatorTask::geocodeStatusChanged signal emits, and the LocatorTask::geocodeStatus is true.

Note: You cannot declare or create a component of this type in QML code.

Property Documentation

attributes : jsobject

Returns the attributes of the GeocodeResult (read-only).

These attributes can be defined in GeocodeParameters::resultAttributeNames.


displayLocation : Point

Returns the display location of the GeocodeResult (read-only).

For example, if searching for a park, the returned point would be near the center of the park.


extent : Envelope

Returns the extent of the GeocodeResult (read-only).

The extent can be used for setting the viewpoint of the map view to the geocode result.


inputLocation : Point

Returns the input location of the GeocodeResult (read-only).

Note: Input location only applies if the result is from a reverse geocode.


label : string

Returns the label of the GeocodeResult (read-only).


routeLocation : Point

Returns the route location of the GeocodeResult (read-only).

For example, if searching for a park, the returned point would be near the entrance point to the park.


score : double

Returns the score of the GeocodeResult (read-only).

See also GeocodeParameters::minScore.



Feedback on this topic?