Select to view content in your preferred language

How to symbolize the Stream Layer using a unique value renderer and with an arrow indicating the direction of movement based on the attribute?

642
2
02-27-2024 01:07 AM
ErsiLover
Occasional Contributor

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:

  1. layer that represents Status - the color of the background changes based on an attribute, e.g. 1 - green, 2 - blue, etc.
  2. layer that represents Entity - icon inside the circle changes based on an attribute, e.g. 1 - man, 2 - car, 3 - truck, etc.
  3. layer that represents Direction - the arrow on the border of the circle indicates the direction of movement (azimuth)

 

0 Kudos
2 Replies
Amir-Sarrafzadeh-Arasi
Frequent Contributor

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

Amir Sarrafzadeh Arasi
0 Kudos
JohnGrayson
Esri Regular Contributor
0 Kudos