Select to view content in your preferred language

Issue with Feature Layer orderBy

291
2
01-20-2026 02:00 AM
MatthieuThery1
Frequent Contributor

Hi,

We have experienced some issues with orderBy property for the Feature Layer when using complex CIM symbols. 

If we are using dashed lines (CIMGeometricEffectDashes) it seems to break the order. If we replace it with normal lines the order is respected.

It results in a renderer that looks different on the map and in arcgis pro in these cases.

2 Replies
Noah-Sager
Esri Regular Contributor

Hi @MatthieuThery1, thanks for sharing your issue here. Do you have a simplified repro case (hosted on codepen or somewhere) that we could take a look at?

0 Kudos
mtrcn
by
Emerging Contributor

Hello @Noah-Sager  thanks for your response, sorry for responding back on this matter because it took a while to prepare data for public and codepen. 

This how we see the layer in ArcGIS Pro;

mtrcn_0-1771503815416.png

 

This how it is visualised in JS API with dashed lines;

mtrcn_1-1771503892426.png

 

if I switch to solid lines, it is being rendered corrrectly;

mtrcn_2-1771503955167.png

 

Here is the Codepen: https://codepen.io/mtrcn/pen/zxBbZqM

 

 

0 Kudos