Need a SymbolStyler for Javascript 4.x

1028
10
01-06-2021 12:34 PM
Status: Open
Labels (2)
VivienWong
New Contributor II

We need a SymbolStyler in Javascript 4.x or a way to modify the layer symbology on-the-fly so that the layers can be displayed in different symbols from what they have been published.  The ideal is that LayerList will show the SymbolStyler (e.g. by double-clicking on the symbol (legend)) so that the user can choose another symbol. 

Tags (2)
10 Comments
BlakeTerhune

You could get some ideas from how Esri does their Symbol Playground.

VivienWong

The Symbol Playground does provide a quick code reference for particular symbols but it does not provide the UI code that allows the user to choose and pick their preferred symbol.

BlakeTerhune

True. I meant it as you'd have to inspect their app and repurpose their code. Would be interesting to have a widget already available to configure for this purpose though.

KristianEkenes

SymbolStyler will not be a widget released in the JS API. However, it will be released as a web component available for public use at some point. We don't have an estimated public release date at this point.

VivienWong

Thanks Kristian for your updates. Do you mean that SymbolStyler will be available for the end-users of ArcGIS Online but it will not available in JS API? 

KristianEkenes

It won't be available in ArcGIS JS API, but it will be available as a component in another library released by Esri. Similar to Calcite components - https://esri.github.io/calcite-components/?path=/story/overview-getting-started--page

mam4org

Hi @KristianEkenes, are there any information about the release date of the library? Thanks for You feedback.

KristianEkenes
No planned date yet. I’ll ask around.
mam4org

Hi @KristianEkenes. Do You have any Information?

Thank You and best regards

Matthias

KristianEkenes

Still no planned date for this. :(