|Import Statement:||import Esri.ArcGISRuntime 100.9|
- attributes : jsobject
- displayLocation : Point
- extent : Envelope
- inputLocation : Point
- label : string
- routeLocation : Point
- score : double
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
Note: You cannot declare or create a component of this type in QML code.
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.