GeocodeResult QML Type
The result class returned from a geocode or reverse geocode operation of a LocatorTask. More...
Import Statement: | import Esri.ArcGISRuntime 100.9 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- attributes : jsobject
- displayLocation : Point
- extent : Envelope
- inputLocation : Point
- label : string
- routeLocation : Point
- score : double
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
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.
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.
Returns the score of the GeocodeResult (read-only).
See also GeocodeParameters::minScore.