Hey guys,
I have many 'referenced' featurelayers (referencing public GIS endpoints).
I am having to change the item display rendering as you would do through using 'Map Viewer'.
changing the transparency, visibility scales, initial off/on display...
The changes are standardized depending on geometry type (point, polygon, polylines).
I can do all of the above using python and json. What I cannot seem to do is the initial step of creating the Item (layer definition) with python.
In Map Viewer after you change these settings, you can save the rendering/display settings to the FeatureLayer (click the elipse in the Layer contents and select 'save' from the dropdown menu). Until this is done their is no item_data object for an item (like until a popup configure is clicked the featurelayer has no popup object).
I am trying to figure out a way of creating the item_data (layerDefinition?) data using Python without having to manually load every featurelayer into Map Viewer and clicking save.
Anybody got any thoughts/idea/solution for this?
Thanks for listening.
BobinTN