SearchView QML Type

  • Esri.ArcGISRuntime.Toolkit
  • SearchView
  • SearchView enables users to search for one or more locations or features, from a variety of sources, with suggestions. More...

    Import Statement: import Esri.ArcGISRuntime.Toolkit
    Since: Esri.ArcGISRuntime 100.13

    Properties

    Detailed Description

    search

    SearchView {
        id: searchView
        geoView: parent
        anchors {
            top: parent.top
            right: parent.right
            margins: 10
        }
    }

    Note: By default, the SearchView will attempt to access the World Geocoding Service, which requires an access token.

    Property Documentation

    automaticConfigurationEnabled : bool

    Determines whether the view will update its configuration based on the attached geoview's geomodel automatically.

    Defaults to true.


    geoView : GeoView

    When connected to a GeoView, SearchView will automatically navigate the view in response to search result changes. Additionally, the view's current center and extent will be automatically provided to locators as parameters.


    noResultMessage : string

    Message to show when there are no results or suggestions.

    Defaults to 'No results found'.


    repeatSearchHereButtonEnabled : bool

    Determines whether a button that allows the user to repeat a search with a spatial constraint is displayed automatically. Set to false if you want to use a custom button, for example so that you can place it elsewhere on the map.

    Defaults to true.


    resultListViewEnabled : bool

    Determines whether a built-in result view will be shown. If false, the result display/selection list is not shown. Set to false if you want to define a custom result list. You might use a custom result list to show results in a separate list, disconnected from the rest of the search view.

    Defaults to true.


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