mapbox / mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
https://docs.mapbox.com/mapbox-gl-js/
Other
10.87k stars 2.19k forks source link

When the map is scaled to level 11, the transparency of the vector graphics will not be consistent with the transparency I set, but will become 100% #13163

Open JZDKG opened 2 months ago

JZDKG commented 2 months ago

mapbox-gl-js version: 3.2.0 + Vue2.6.11

Question

When the map is scaled to level 11, the transparency of the vector graphics will not be the same as the transparency I set, but will become 100%. The three parameters output by the console are map. getZoom(), map. getPaintProperty ('mvtBase ',' fill space '), and map. getPaintProperty ('mvtBase', 'fill color') Rec-0010