-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update style by clearing cache #2130
base: master
Are you sure you want to change the base?
Conversation
a9180f8
to
cb66b44
Compare
6a32960
to
2614786
Compare
30e06d5
to
d7f8774
Compare
d7f8774
to
b48a6cf
Compare
Before going into code details, some general remarks:
issue-style.mp4We should fix that.
|
Description
Add some features to update the style of a layer.
We've added a function for redrawing a layer. It selects the layer, invalidates the cache and notifies changes.
With this function, you can change the style of the entire layer or only a specific feature in your layer.
However, it clears and updates all the layer even if you change only one feature in this layer.
We've also added an example to illustrate the function.
PS: The refresh one tile that were already refreshing before the style changement doesn't seem to refresh to the new style