Skip to content

fix: bitmap layer fixes [WIP]#3474

Open
igorDykhta wants to merge 3 commits into
masterfrom
igr/fixes-bitmap
Open

fix: bitmap layer fixes [WIP]#3474
igorDykhta wants to merge 3 commits into
masterfrom
igr/fixes-bitmap

Conversation

@igorDykhta
Copy link
Copy Markdown
Collaborator

@igorDykhta igorDykhta commented May 31, 2026

  • fix opacity
  • 3-point alignment with the basemap

Ihor Dykhta added 2 commits May 31, 2026 22:44
Signed-off-by: Ihor Dykhta <ihordykhta@Ihors-MacBook-Pro.local>
Signed-off-by: Ihor Dykhta <ihordykhta@Ihors-MacBook-Pro.local>
Copilot AI review requested due to automatic review settings May 31, 2026 21:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes custom GPU blend parameters from the BitmapLayer so that deck.gl's default blending is used, which fixes how the layer's opacity is applied. Also updates a stale code comment in the layer configurator.

Changes:

  • Drop the custom parameters block (premultiplied-alpha blend factors) from the BitmapLayer instantiation so opacity behaves correctly.
  • Update a comment describing the _imageTs re-render trick.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/layers/src/bitmap-layer/bitmap-layer.ts Removes custom blend parameters from the deck.gl BitmapLayer to restore correct opacity behavior.
src/components/src/side-panel/layer-panel/layer-configurator.tsx Updates an outdated comment to accurately describe the re-render mechanism.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@igorDykhta igorDykhta requested review from ilyabo and lixun910 May 31, 2026 21:17
Signed-off-by: Ihor Dykhta <ihordykhta@Ihors-MacBook-Pro.local>
@igorDykhta igorDykhta changed the title fix: bitmap layer fixes fix: bitmap layer fixes [WIP] May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants