Replies: 3 comments 1 reply
-
In general you will need to generate a new set of paintRules for all your changes, and then |
Beta Was this translation helpful? Give feedback.
-
@bdon, many thanks - if I generate a new set of paintRules (say |
Beta Was this translation helpful? Give feedback.
-
I can likely answer myself, after defining the new rules:
I can just update the layer paint_rules and call rerenderTiles()
Does it make sense? |
Beta Was this translation helpful? Give feedback.
-
For example, I want to change major roads color to red, the following code works fine when using the default style:
Is it the above the right ways to achieve the result? What if I want to change line width as well? I did not get if/how I can create my own symbolizer but to just override one single element .
The same in maplibre woudld be just a line of code:
Thanks! (and thanks for this great project!)
Beta Was this translation helpful? Give feedback.
All reactions