From ec665c39b84b57ad03167be00cb736f82569501a Mon Sep 17 00:00:00 2001 From: Kevin ETOURNEAU Date: Wed, 2 Oct 2024 11:32:04 +0200 Subject: [PATCH] fix(TiledGeometryLayer): replace get data by the new getPropertyArray --- src/Layer/OGC3DTilesLayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Layer/OGC3DTilesLayer.js b/src/Layer/OGC3DTilesLayer.js index b771ac2cd4..3808054883 100644 --- a/src/Layer/OGC3DTilesLayer.js +++ b/src/Layer/OGC3DTilesLayer.js @@ -292,7 +292,7 @@ class OGC3DTilesLayer extends GeometryLayer { // Setup classification bufferAttribute if (model.isPoints) { - const classificationData = batchTable?.getData('Classification'); + const classificationData = batchTable?.getPropertyArray('Classification'); if (classificationData) { geometry.setAttribute('classification', new THREE.BufferAttribute(classificationData, 1),