mapbox / mapbox/mapbox-gl-js

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%

Open
#13,163 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :lady_beetle:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report with mapbox-gl-js 3.2.0 and Vue 2.6.11, scaling the map to level 11 while inspecting map.getZoom() and the mvtBase fill-opacity and fill-color paint properties. Compare the displayed vector transparency with the configured value and use the attached Rec-0010 screenshot as context; done means the rendered transparency remains consistent at that zoom level.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.