Dear all,
I'm looking for way to save the state of a classedColorSlider (https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-smartMapping-ClassedColor...) and reload it as soon as the user starts editing again. In other words, a way to save the properties and pass them to the slider as soon as things are being re-edited. Any hints highly appreciated :))
Solved! Go to Solution.
Each renderer has an authoringInfo property for preserving properties like slider values set by the user: https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-support-AuthoringInfoVi...
If you set these values in the renderer, the "fromRendererResult" methods on the sliders take these properties into account when updating slider values:
Each renderer has an authoringInfo property for preserving properties like slider values set by the user: https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-support-AuthoringInfoVi...
If you set these values in the renderer, the "fromRendererResult" methods on the sliders take these properties into account when updating slider values:
Thank so much for the quick response 🙂
Hi Kristian, one more question: Is there a way to set the classBreakInfos to the authoringInfo? Or am I overlooking something? I'm using the slider in a way as in this sample , in base it would be saving the settings set on the slider when having chosen for manual and configured the slider breaks(thumbs). Cheers, Vincent