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

GL JS examples not working on Chrome & Firefox, but ok with IE #3826

Closed
RedRise opened this issue Dec 18, 2016 · 6 comments
Closed

GL JS examples not working on Chrome & Firefox, but ok with IE #3826

RedRise opened this issue Dec 18, 2016 · 6 comments

Comments

@RedRise
Copy link

RedRise commented Dec 18, 2016

Hello everyone,

I'm going through strange behaviors with mapbox-gl-js, depending the brower I use.

Strange behavior description

  1. When I parse different (examples), without being logged to my MapBox account (so there is no use of my token in the different examples)
    1. I just see white empty maps with Chrome and Firefox
    2. The map displays correctly on I.E.
  2. I checked that webgl is enabled on all my browsers (chrome, firefox, IE), and everything is ok!
  3. simple Mapbox.js examples work well on 3 browsers
  • mapbox-gl-js version: v0.28.0, I'm just going on examples webpage
  • Chrome version: 55.0.2883.87 m (64-bit)
  • Firefox version: 50.1.0
  • I.E. version: 11.576.14393.0

Thank you for your help, and have a nice week end!

@jfirebaugh
Copy link
Contributor

Hi @RedRise. If I understand your report correctly, you're loading examples without a network connection, and expecting a full map to be rendered. Whether this would work or not depends on the behavior of the browser cache. If the browser determines that it needs to fetch a network resource, but network access is not available, there's nothing that Mapbox GL JS could do -- it needs that data in order to render a map.

@RedRise
Copy link
Author

RedRise commented Dec 19, 2016

Hi @jfirebauch. Unfortunately no, I'm always connected, and have a running internet connection.

I'm updated my initial question to remove any ambiguity.

@jfirebaugh jfirebaugh reopened this Dec 19, 2016
@jfirebaugh
Copy link
Contributor

Ok, thanks for the clarification. Do the examples work for you on Chrome and Firefox when you are logged into your Mapbox account?

@RedRise
Copy link
Author

RedRise commented Dec 19, 2016

No, Chrome and Firefox dont work even if I'm logged to my Mapbox account neither.

@jfirebaugh
Copy link
Contributor

Are there any messages in the developer console? Can you post the output of chrome://gpu/?

@jaapster
Copy link

Could this be related to #2270?

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

No branches or pull requests

3 participants