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

Streets not shown on certain zoom levels (but street names are shown) #13228

Open
snajdov opened this issue Jul 16, 2024 · 4 comments
Open

Streets not shown on certain zoom levels (but street names are shown) #13228

snajdov opened this issue Jul 16, 2024 · 4 comments

Comments

@snajdov
Copy link

snajdov commented Jul 16, 2024

I'm loading Mapbox GL JS in a Chrome Extension that I'm building.
The loading succeeds and the map is loaded.
However, I noticed that at certain zoom levels, some streets/roads are not shown, but their names are.

Assuming that I might be some restrictions within the Chrome Extension, I went to the example docs page.
There, I was able to replicate the same issue.
The same issue is present in both Chrome and Firefox.

Steps to reproduce

  1. Visit the page at: https://docs.mapbox.com/mapbox-gl-js/example/simple-map/
  2. Start zooming in to the city of Philadelphia.
  3. First, it shows the street names.
  4. Then, as you zoom in further, it starts showing the streets.

Expected behavior

As soon as the street name is shown, the street should be displayed.

Actual behavior

Street names are shown at higher zoom levels.
Then, as you zoom in, the streets are displayed.

Demonstration

mapbox

Mapbox GL JS v3.5.1
Browsers: Chrome v126.0.6478.126, Firefox v128.0
OS: Linux Manjaro

@stepankuzmin
Copy link
Contributor

Hi @snajdov,

Thanks for flagging this issue. Is it reproducible on other devices for you, or is it Linux-specific?

@snajdov
Copy link
Author

snajdov commented Jul 18, 2024

I opened it on my Android phone (Android v14), and it looks OK there.
I opened it on a Windows 11 VM, and it looks OK there, as well.
It seems to be Linux-specific, or even Manjaro/Arch-specific.

I changed the style of my maps to mapbox://styles/mapbox/streets-v12 and it looks good there.
For anyone facing the same problem, try mapbox://styles/mapbox/streets-v12 or any of the other styles found at:
https://docs.mapbox.com/api/maps/styles/#classic-mapbox-styles

So, I'm OK running with that style.
If you think this issue needs no more attention, feel free to close it.

@stepankuzmin
Copy link
Contributor

It may be some Linux-specific ANGLE issue. I will keep this open so we can review it later.

@Dylansc22
Copy link

Dylansc22 commented Aug 14, 2024

It does not work on:
Arch Linux kernel: 6.10.4
Firefox 129

also if useful, from about:support on firefox:

WebGL 1 Driver Version: 4.6 (Compatibility Profile) Mesa 24.1.3
WebGL 2 Driver Version: 4.6 (Core Profile) Mesa 24.1.3

It does work on:
Ubuntu 22.04 using chrome.

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