search

An object specifying the search parameters set within the web map.

Properties

Property Details
disablePlaceFinder A boolean value indicating whether or not to disable the place finder.
enabled A boolean value indicating whether search (find) functionality is enabled in the web map.
hintText A string value used to indicate the hint provided with the search dialog.
layers An array of layer objects defining the styling, geometry, and attribute information for the features.

Example

{
  "search": {
    "enabled": true,
    "disablePlaceFinder": false,
    "hintText": "Search by Address or State name",
    "layers": [
      {
        "id": "Census_9227",
        "field": {
          "name": "STATE_NAME",
          "exactMatch": false,
          "type": "esriFieldTypeString"
        },
        "subLayer": 3
      }
    ]
  }
}

Feedback on this topic?