We currently have a streamLayer with a unique value renderer based on two fields: Status and Entity.
The issue we're encountering is the need to add an arrow to each symbol, indicating its direction.
We attempted to address this by adding a graphicLayer to display the arrows around the symbols from the streamLayer. While the appearance was satisfactory, this solution wasn't ideal due to delays in adding the arrow to the graphic layer. Is there an alternative method to achieve this without encountering delays?
GIS application is developed using the Angular Framework and JavaScript API v4.28., while the Stream layer is created using WebSocket technology. The symbols we are using are in .png format.
We cannot rotate the whole symbol, only the arrow.
Basically, we need to have a symbol with 3 layers:
Dear EsriLover,
Please check the below link, which is my personal Github.
https://github.com/AmirSarrafzadeh/symbology_dictionary
you can do almost what ever you want with dictionary renderer.
If you need more information please let me know
hope it helps
You might want to check out CIMSymbol and its ability to override primitives via Arcade expressions as it might provide the necessary functionality.
https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html
https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html#CIMPicture...