LocatorTask class final
A class can be used to convert an address to a point (geocode) or vice-versa (reverse geocode).
LocatorTask involves finding matching locations for a given address. Reverse-geocoding is the opposite and involves finding corresponding addresses for a given location.
- Implemented types
- Mixed in types
Constructors
- LocatorTask.withUri(Uri uri)
-
Creates a new locator task object.
factory
Properties
- apiKey ↔ String
-
The API key allows your app to access ArcGIS location services and private
portal items.
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadError → ArcGISException?
-
The load error.
no setterinherited
- loadStatus → LoadStatus
-
The load status.
no setterinherited
- locatorInfo → LocatorInfo?
-
Locator info.
no setter
-
onLoadStatusChanged
→ Stream<
LoadStatus> -
A stream that reports changes to the
LoadStatus
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri?
-
The URI of online service or local locator.
no setter
Methods
-
cancelLoad(
) → void -
Cancels loading metadata for the object.
inherited
-
geocode(
{required String searchText, GeocodeParameters? parameters}) → Future< List< GeocodeResult> > - Geocodes address with parameters and returns candidates.
-
geocodeCancelable(
{required String searchText, GeocodeParameters? parameters}) → CancelableOperation< List< GeocodeResult> > - Cancelable version of geocode. See that method for more information.
-
geocodeWithSearchValues(
Map< String, String> searchValues, {GeocodeParameters? parameters}) → Future<List< GeocodeResult> > - Geocodes multiline address with parameters and returns candidates.
-
geocodeWithSearchValuesCancelable(
Map< String, String> searchValues, {GeocodeParameters? parameters}) → CancelableOperation<List< GeocodeResult> > - Cancelable version of geocodeWithSearchValues. See that method for more information.
-
geocodeWithSuggestResult(
SuggestResult suggestResult, {GeocodeParameters? parameters}) → Future< List< GeocodeResult> > - Geocodes suggest with parameters and returns candidates.
-
geocodeWithSuggestResultCancelable(
SuggestResult suggestResult, {GeocodeParameters? parameters}) → CancelableOperation< List< GeocodeResult> > - Cancelable version of geocodeWithSuggestResult. See that method for more information.
-
load(
) → Future< void> -
Loads the metadata for the object asynchronously.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retryLoad(
) → Future< void> -
Loads or retries loading metadata for the object asynchronously.
inherited
-
reverseGeocode(
{required ArcGISPoint location, ReverseGeocodeParameters? parameters}) → Future< List< GeocodeResult> > - Finds address with parameters by location point.
-
reverseGeocodeCancelable(
{required ArcGISPoint location, ReverseGeocodeParameters? parameters}) → CancelableOperation< List< GeocodeResult> > - Cancelable version of reverseGeocode. See that method for more information.
-
suggest(
{required String searchText, SuggestParameters? parameters}) → Future< List< SuggestResult> > - Suggest address with parameters and returns possible variants.
-
suggestCancelable(
{required String searchText, SuggestParameters? parameters}) → CancelableOperation< List< SuggestResult> > - Cancelable version of suggest. See that method for more information.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited