Hello,
I am drawing some ellipses (etc) on in-memory layer using a different style for each ellipse.
While looking around it seems like the options are to
1 . use ColumnValues in Features such as in this example, to apply different styles
gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/12/aft/6708/afv/topic/Default.aspx
2 . use multiple in-memory layers (one for each style). This is what I am doing and it seems to slow things down a bit
3 . MapShapes, but they are no supported any longer, is that correct?
So is the optimal solution #1?
Thank you
Thomas
What is optimal way to apply different styles to different shapes in in-memory layer(s)
Thomas,
Yes, optimal solution is #1, but you also can try MapShapeLayer, it should has the same performance with it, the advantage is that you write less code, the disadvantage is it’s not inherit from FeatureLayer so that some function is limited.
Let me know if you have more questions.
Thanks,
James
James,
Great! Thanks for the response.
Thomas
You’re welcome.