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

Cannot load more than 3 maps even if on different tabs #1935

Closed
mintuhouse opened this issue Jan 15, 2016 · 1 comment
Closed

Cannot load more than 3 maps even if on different tabs #1935

mintuhouse opened this issue Jan 15, 2016 · 1 comment
Labels

Comments

@mintuhouse
Copy link

If I attempt to load more than 3 maps simultaneously (tested in Firefox on Ubuntu), even if not on same page, the tiles for latest one won't load. If I close the first tab, the map is loaded on 4th without refreshing.
I sometimes get following warning in browser console. It may be related.

Exceeded 16 live WebGL contexts for this principal, losing the least recently used one.

The number when tested in Chrome seems to be 8.

I am using mapbox with turbolinks (rails), after 3 back and forth switches betweed pages, I no longer see the map.

Is there a way to manually disable webgl or hide it on unload?

@lucaswoj
Copy link
Contributor

Closing in favor of #2656 which has more discussion & context.

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

No branches or pull requests

3 participants