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

Fix layers #40

Merged
merged 3 commits into from
Dec 5, 2023
Merged

Fix layers #40

merged 3 commits into from
Dec 5, 2023

Conversation

tmcw
Copy link
Collaborator

@tmcw tmcw commented Dec 5, 2023

  • Fixes the flickering layers UI by only showing it when there are layers. When it's empty, it flickers and is also not useful because it'd be blank.
  • Adds a progress state to the render button while the map is rendering (though we block the thread so it glitches)
  • Add microtasks to reduce thread-blocking while rendering (but there's still a lot of thread blocking, tbh)

@tmcw tmcw merged commit ea8159b into main Dec 5, 2023
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

Successfully merging this pull request may close these issues.

Jitter/glitch with the leaflet layers control
1 participant