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

Symbols rendered as black/purple rectangle patches on Android. #3494

Closed
mb12 opened this issue Oct 31, 2016 · 6 comments
Closed

Symbols rendered as black/purple rectangle patches on Android. #3494

mb12 opened this issue Oct 31, 2016 · 6 comments

Comments

@mb12
Copy link

mb12 commented Oct 31, 2016

mapbox-gl-js version:Master and 0.26.0

Steps to Trigger Behavior

I run into this issue several times everyday. The following steps consistently reproduce the issue on both Note3 (running 4.4.2) and Samung Galaxy Tablet (running 6.x).

  1. Open a GL JS Samples page.
  2. Lock the device.
  3. Unlock the device after half an hour. All text and icons are now rendered as black rectangular patches. Sometimes you may have to pan/interact with the map to cause these to appear. I've attached a screenshot from my device.

screenshot_2016-10-31-11-50-11

Expected Behavior

Text and icons should be rendered correctly.

Actual Behavior

Text and icons are rendered as black patches.

@mb12
Copy link
Author

mb12 commented Oct 31, 2016

Added another screenshot from samples page illustrating the problem. This is to emphasize that there is no problem with fills and lines. Only symbols are problematic.

screenshot_2016-10-31-12-05-33

@jeroenbourgois
Copy link

I am experiencing the same issue on desktop (Chrome). I guess I am doing something wrong with the marker image (it is loaded though...), sometimes it works, sometimes it doesn't. This is what the console says:

image

@nrako
Copy link

nrako commented Sep 4, 2017

The same issues has been reported to me by some users. Running v0.39.1.

Occurs at least on Samsung galaxy tab a6, but I'm being told it also occurs on other Android tablets.

image001

Since this issue has stalled, does anybody have a workaround? I just saw that tinkering with the devicePixelRatio might help on android #1953 ?

@jfirebaugh
Copy link
Contributor

Is this still an issue?

@nrako
Copy link

nrako commented May 17, 2018

On my side, I'm not aware of any recent occurence.

@mourner mourner closed this as completed Jul 24, 2018
@mourner
Copy link
Member

mourner commented Jul 24, 2018

Closing since this was likely a browser bug which doesn't appear to manifest anymore.

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

5 participants