SmartLocatorSearchSource QML Type

Extends LocatorSearchSource with intelligent search behaviors; adds support for repeated search. More...

Since: Esri.ArcGISRuntime 100.13
Inherits:

LocatorSearchSource

Properties

Methods

  • void search(var query, Geometry area)

Detailed Description

Note: Advanced functionality requires knowledge of the underlying locator to be used well; this class implements behaviors that make assumptions about the locator being the ArcGIS World Geocoding Service.

Property Documentation

repeatSearchResultThreshold : int

The minimum number of results to attempt to retrieve. If there are too few results, the search is repeated with loosened parameters until enough results are accumulated.

Note: If no search is successful, it is still possible to have a total number of results less than this threshold. Set to zero to disable search repeat behavior. Defaults to 1.


repeatSuggestResultThreshold : int

The minimum number of suggestions to attempt to retrieve. If there are too few results, the search is repeated with loosened parameters until enough suggestions are accumulated.

Note: If no search is successful, it is still possible to have a total number of suggestions less than this threshold. Set to zero to disable search repeat behavior. Defaults to 6.


Method Documentation

void search(var query, Geometry area)

Starts a search using query as input.

query can be a string or a SuggestResult.

If area is non-null, search is restricted to that area.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close