@deck.gl/carto 9.2.2 → 9.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "CARTO official integration with Deck.gl. Build geospatial applications using CARTO and Deck.gl.",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
- "version": "9.2.2",
6
+ "version": "9.2.3",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -75,5 +75,5 @@
75
75
  "@loaders.gl/core": "^4.2.0",
76
76
  "@luma.gl/core": "~9.2.2"
77
77
  },
78
- "gitHead": "9e183d2ce23bb21d655752ed614da0ce5a6a0458"
78
+ "gitHead": "0b683966752449e7104dc8b1ee6a29a1b871ac1d"
79
79
  }
@@ -227,7 +227,7 @@ export default class VectorTileLayer<
227
227
  }
228
228
 
229
229
  // Sort layers so that label layers are rendered after the main layer
230
- const validLayers = layers.flat().filter(Boolean) as Layer[];
230
+ const validLayers = (layers || []).flat().filter(Boolean) as Layer[];
231
231
  validLayers.sort((a: Layer, b: Layer) => {
232
232
  const aHasLabel = a.id.includes('labels');
233
233
  const bHasLabel = b.id.includes('labels');