covid19japan icon indicating copy to clipboard operation
covid19japan copied to clipboard

Map Broken In Spanish

Open reustle opened this issue 4 years ago • 4 comments

Seems that the language switching might not be handled properly in the mapbox related code.

image

reustle avatar May 04 '20 05:05 reustle

Does it load if you zoom in?

I seem to see the same issue on Japanese too. I wonder if it's a Mapbox bug?

liquidx avatar May 04 '20 09:05 liquidx

You're right, broken on Japanese too. This is a new bug then, as previously it did switch fairly quickly without any interaction with the map.

You can see a discussion about language switching here https://github.com/mapbox/mapbox-gl-js-docs/issues/41

It's where I posted my (hacky) solution

reustle avatar May 04 '20 09:05 reustle

There's a suggestion in there to try https://github.com/mapbox/mapbox-gl-language

Did we ever try that?

Odd thing is that when I first observed this bug, changing the zoom level will show the labels. But now, changing the zoom levels still don't show the labels.

liquidx avatar May 04 '20 14:05 liquidx

I changed to start from zoom level 3, and it seems like zoom level 4 doesn't work, but zoom level 5 shows the labels again. I'm mystified as to what's happening.

map 2020-05-04 23_36_51

liquidx avatar May 04 '20 14:05 liquidx