Closed hardik-satasiya closed 3 years ago
Please use the bug template and create a CodeSandbox that reproduces your issue if you think there is a bug with this library. Go to Discussions for generic Q&A.
map.setStyle(mapboxLanguage.setLanguage(map.getStyle(), language));
you can try this.
@hardik-satasiya
I used ReactMapGL and I want to show map label's in user's browser language
So I used this control https://github.com/mapbox/mapbox-gl-language
But seems it's not working
I am using chrome.
Many thanks in advance please, can anyone show me the right direction or another way to do it? or am I doing it wrong?
there are multiple styles of the map as well so I need to change lang on style change as well if it's relevant to this.