[Bug] no reaction to material property in MVTLayer

Open
#9,660 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript

Research direction

Reproduce the regression by comparing the linked CodePens using deck.gl 8.9.36 and 9.1, then trace MVTLayer handling of the material property. Done means extruded polygons in the React setup have a uniform fill when material is set to false in deck.gl 9.1.

Written by the indexing model from the issue text.

Description

bug
Description

After moving to deck.gl v9 I found out that extruded polygons in MVTLayer stopped reacting to change of material property.

Flavors
  • Script tag
  • React
  • Python/Jupyter notebook
  • MapboxOverlay
  • GoogleMapsOverlay
  • CARTO
  • ArcGIS
Expected Behavior

Extruded polygons have uniform fill using material: false property.

Steps to Reproduce

Codepen with deck.gl 8.9.36: https://codepen.io/yskiugsp-the-looper/pen/vEOpvBV
Codepen with deck.gl 9.1: https://codepen.io/yskiugsp-the-looper/pen/RNPxqze

Environment
  • Framework version: 9.1
  • Browser: Google Chrome v137
  • OS: Win10 x64
Logs

No response

Dominant language
TypeScript
Stars
14.6k
Forks
2.3k
Avg merge
2d 9h
Merged PRs (30d)
42

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.

More from visgl/deck.gl

All issues in visgl/deck.gl

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.