AnsweredAssumed Answered

How to restore default symbology for dynamic layer ArcGISDynamicMapServiceLayer

Question asked by piterpaulppp on Nov 9, 2016
Latest reply on Nov 10, 2016 by piterpaulppp

Probably, simple question that I cannot find answer from API reference:

 

After applying custom symbology

https://developers.arcgis.com/javascript/3/jsapi/arcgisdynamicmapservicelayer.html#setlayerdefinitions

app.anyLayer.setLayerDrawingOptions(optionsArray);

 

how to restore default symbology for it?

Outcomes