mapbox-gl-js icon indicating copy to clipboard operation
mapbox-gl-js copied to clipboard

The 'worldview' attribute seems to only work in the standard style

Open uubbbb opened this issue 1 year ago • 2 comments

As shown in the figure below, the map uses the standard style, and 'worldview' is set to 'US', 'CN', and 'IN' respectively, which is displayed normally.

QQ20241228-153751 QQ20241228-154037 QQ20241228-153914

However, the map style is changed to streets-v12, and it is normal only in 'US'. 'CN' and 'IN' do not show the boundary line of the disputed area on both sides.

QQ20241228-154210 QQ20241228-154418 QQ20241228-154318

At the same time, I also tried outdoors-v12, light-v11, navigation-day-v1, etc., and none of them can display the disputed boundaries. I hope it can be fixed.

uubbbb avatar Dec 28 '24 08:12 uubbbb

Can we have some more info on this issue so that I can try to resolve this ?

shubham9911 avatar Jan 20 '25 15:01 shubham9911

Can we have some more info on this issue so that I can try to resolve this ?

Hello, I'll send you two demos. When I add "worldview: 'CN'," to the map, the map style uses "standard", demo: https://jsfiddle.net/jwLfxgp2/ The map style uses "streets-v12", demo: https://jsfiddle.net/mhyg2n1z/ You can see that the border line is displayed normally in "standard", but not in "streets-v12".

Image Image

Please fix the border line display under the streets-v12 style. Thank you!

uubbbb avatar Mar 30 '25 16:03 uubbbb