How to change the colors of the points, on "Editing" Example? #2621
cabezon666
started this conversation in
Development
Replies: 1 comment 1 reply
-
The purple color is determined by the EditingSample.CreateEditLayerBasicStyle() method. Changing that color will change it for all features in editing mode, because that is how the sample is currently written. What you want is to have different colors for different features in the layer. There are two ways to do that:
So my advice rewrite the EditingSample.CreateEditLayerBasicStyle() to use a ThemeStyle and update to 'properties' of the feature to give it a distinct color. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm stuck trying to change the colors depending of some rules, but for example, on the "Editing" example, when I want to Add a Point, I try to change the color playing with the edtiManager value, but im getting stuck in change the point values.
Those points I need to move it, modify and delete. That is the reason why I need a EditLayer to create them.
thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions