The applicationProperties object is one of the objects at the top level of the JSON web map JSON schema. This is responsible for containing the viewing and editing properties of the web map. There are specific objects within this object that are applicable only to Collector and are explained within the property descriptions.
Referenced by: Web Link Chart, Webmap
Properties
Property | Details |
---|---|
editing | If locationTracking is set and enabled, the Collector application will update the feature service at the defined interval with the current location of the user logged into the Collector app. |
offline | Use if working with offline maps. |
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. |
applicationProperties Example
{
"viewing": {
"routing": {
"enabled": true
},
"measure": {
"enabled": true
},
"basemapGallery": {
"enabled": true
},
"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
}
]
}
},
"editing": {
"locationTracking": {
"enabled": true,
"info": {
"layerId": "e1eb5f1b-605d-41de-8254-b1f8b50f22af",
"updateInterval": "300"
}
}
}
}