We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22e2dd5 commit 9c2d36eCopy full SHA for 9c2d36e
packages/gl/src/layer/GroundPainter.ts
@@ -467,10 +467,7 @@ class GroundPainter {
467
}
468
469
_updateMaterial() {
470
- const materialConfig = this.getSymbol() && this.getSymbol().material;
471
- if (!materialConfig) {
472
- return;
473
- }
+ const materialConfig = this.getSymbol() && this.getSymbol().material || {};
474
const material = {};
475
let hasTexture = false;
476
const ground = this._layer.getGroundConfig();
0 commit comments