I am accessing an Operational Layer in a WebMap and updating some properties. There is a 'mode' property that is set to 1. What does mode mean? and what values will it accept? and what does each value correspond to?
The layer is not hosted in AGOL, it is added to AGOL from a federated Portal Service.
Heres how I am accessing the Operational Layer properties.
from arcgis import GIS
from arcgis.mapping import WebMap
agol = GIS("home")
wm_item = agol.content.get("***wm_id***")
wm = WebMap(wm_item)
lyr = wm.get_layer(title="Lyr_Name")
print(lyr)
Here's a snippet of the properties returned that contains mode.
{
"id": "id",
"layerType": "ArcGISFeatureLayer",
"url": "url/of/feature/layer",
"visibility": true,
"opacity": 1,
"mode": 1,
"title": "Lyr_Name",
"itemId": "***item_id",
"layerDefinition": {