Is "Optimize Layer Drawing" Supported in API?

181
1
11-08-2021 12:39 PM
PatrickMcKinney99
New Contributor III

If you have a polyline or polygon hosted feature service in ArcGIS Online, there is an option under the Settings tab to Optimize Layer Drawing, which "increases the drawing speed of line and polygon layers with detailed geometry (e.g., many vertices) but also uses additional storage space to do so."

Does anyone know if there is a Python API way to run this process on feature services?  It would be a very beneficial thing to do via scripting.

0 Kudos
1 Reply
ArcProOne
New Contributor II

See example eight on this page: https://developers.arcgis.com/rest/services-reference/online/update-definition-feature-layer-.htm

Not a full answer, but maybe will get you on the right track.

0 Kudos