Hi
My featurelayer includes a COLOR field containing an RGB-code. Is it somehow possible to color all features according to their COLOR field value, without having to statically map all the possible colors with a UniqueValueRenderer?
Can't see why not. You'll have to load the features first, then iterate through all of them to read the "color" attribute and set the feature's symbology.
Just to add to FC's reply you can do a distinct value query first to get the values you want for your renderer instead of iterating though all the features.
ログインすると、投稿したり、更新をフォローしたりできます。初めてですか?無料アカウントを登録しましょう。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.