Skip to content

fix(HeatmapLayer): Correct blending in interleaved mode#9993

Merged
felixpalmer merged 2 commits intomasterfrom
felix/heatmap-interleave-fix
Feb 10, 2026
Merged

fix(HeatmapLayer): Correct blending in interleaved mode#9993
felixpalmer merged 2 commits intomasterfrom
felix/heatmap-interleave-fix

Conversation

@felixpalmer
Copy link
Collaborator

Closes #9452

Background

While porting HeatmapLayer to v9 we missed adding blend to the weightsTransform which meant the values written to the FBO were invalid. This fix resolves the issues with interleaved rendering, tested against Maplibre and Google.

Before fix
Screenshot 2026-02-09 at 13 52 25
After fix
Screenshot 2026-02-09 at 13 52 00

Change List

  • Add blend: true to parameters
  • More defensive check for canvasContext?.setProps (not available on external GL context)

@coveralls
Copy link

Coverage Status

coverage: 91.091%. remained the same
when pulling 83db85a on felix/heatmap-interleave-fix
into b830b0e on master.

@neil-morrison44
Copy link

Can confirm this fixes the issue I was seeing in Google maps, can see the heatmap within the 3D rendering as expected now

@felixpalmer felixpalmer merged commit 6fdb7b8 into master Feb 10, 2026
5 checks passed
@felixpalmer felixpalmer deleted the felix/heatmap-interleave-fix branch February 10, 2026 12:16
@UrbnPi
Copy link

UrbnPi commented Feb 12, 2026

Can also confirm that the heatmap is working as intended with MapboxOverlay now.
Thank you very much!

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.

[Bug] Heatmap with MapboxOverlay broken after version 9.0.41

5 participants