Skip to content
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 without removing and adding layer #56

Open
rishabhjain30 opened this issue Feb 17, 2016 · 1 comment
Open

Update style without removing and adding layer #56

rishabhjain30 opened this issue Feb 17, 2016 · 1 comment

Comments

@rishabhjain30
Copy link

How can I update the style of a layer or any other attribute like onclick without actually having to remove the layer and adding it again?

@aratcliffe
Copy link

Calling MVTSource.setStyle() with a new style function will result in the layer being redrawn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants