Hello,
I have set the ZIndex for my Graphic objects like this.
g.ZIndex = 0;
Is it possible to set ZIndex for FeatureLayer objects also?
And how do I do that?
Any input would be appreciated.
Thanks, Mattias
There is currently no mechanism to set ZIndex on features in a FeatureLayer. Can you please elaborate your use case so I can understand better why do you need to set ZIndex on each feature and what point in your workflow you want the ZIndex to be set, like before loading the layer or after loading and rendering etc?
What I want to do is to add a Graphic object and give it ZIndex 1.
Then I want to add a FeatureLayer for a shapefile and set its ZIndex to 2.
And then i want to add another Graphic object and give it ZIndex 3.