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

Disabling repaint during render loop causes forever repaint #7649

Closed
peterqliu opened this issue Nov 30, 2018 · 0 comments · Fixed by #7667
Closed

Disabling repaint during render loop causes forever repaint #7649

peterqliu opened this issue Nov 30, 2018 · 0 comments · Fixed by #7667
Labels

Comments

@peterqliu
Copy link
Contributor

peterqliu commented Nov 30, 2018

mapbox-gl-js version: 0.51.0

browser: Chrome

Steps to Trigger Behavior

  1. Add a custom layer
  2. map.repaint = false in the render method

Link to Demonstration

http://jsfiddle.net/cr7emnv0/

Expected Behavior

Keep continuous repaints off.

Actual Behavior

Turns on continuous repaints, only if it was previously off.

cc/ @ansis

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

Successfully merging a pull request may close this issue.

1 participant