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

Styles set per feature are not set when new tiles are loaded #33

Closed
perliedman opened this issue Nov 22, 2016 · 1 comment
Closed

Styles set per feature are not set when new tiles are loaded #33

perliedman opened this issue Nov 22, 2016 · 1 comment

Comments

@perliedman
Copy link
Member

When the setFeatureStyle method is used, it only updates the currently loaded tiles. When a new tile, that might be part of the feature, is loaded, it will get the default styling. This can appear as tears between tiles, and also makes overridden styles disappear once the map is zoomed.

@lediur
Copy link
Contributor

lediur commented Dec 1, 2016

I've also noticed this - if I add a vector grid layer to the map, and then immediately try to set styles on it (as part of a React app), no styles get applied since the vector tiles haven't been loaded yet.

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