Can you have a single feature layer with more than one type of symbol depending on the object's data?
For example, if I have a single feature layer to show park benches but I have two or three different bench models. Can this be done? I've been looking around for an example of this in the demos but I haven't been able to find anything.
Solved! Go to Solution.
Hi @ararana - you can use a UniqueValueRenderer to accomplish this. Here's a sample that shows you how - Visualize features by type
Here's the API reference page for more information: https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.htm...
Hope this helps!
Hi @ararana - you can use a UniqueValueRenderer to accomplish this. Here's a sample that shows you how - Visualize features by type
Here's the API reference page for more information: https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-UniqueValueRenderer.htm...
Hope this helps!
Thanks for the super quick reply! At a quick glance this looks exactly like what I was searching for.