viewing

An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default.

Properties

Property Details
basemapGallery The basemap tool which will use the basemap group defined in the Portal.
measure Measure tool.
routing The route tool which will leverage the Portals defined route service.
search An object specifying search parameters within the webmap.

Example

{
  "viewing": {
    "routing": {
      "enabled": true
    },
    "measure": {
      "enabled": true
    },
    "basemapGallery": {
      "enabled": true
    },
    "search": {
      "enabled": true,
      "disablePlaceFinder": false,
      "hintText": "Place or Address",
      "layers": []
    }
  }
}

Feedback on this topic?