From b8869ff1ee3ded475279fb4cbec4254083226a08 Mon Sep 17 00:00:00 2001 From: ftoromanoff Date: Fri, 22 Nov 2024 17:54:01 +0100 Subject: [PATCH] fix(MVT): MVTStyle.layer with ref property --- src/Source/VectorTilesSource.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Source/VectorTilesSource.js b/src/Source/VectorTilesSource.js index 9e29985c4d..4900205ba0 100644 --- a/src/Source/VectorTilesSource.js +++ b/src/Source/VectorTilesSource.js @@ -114,6 +114,7 @@ class VectorTilesSource extends TMSSource { layer[prop] = refLayer[prop]; }); } + const style = Style.setFromVectorTileLayer(layer, this.sprites, this.symbolToCircle, this.warn); this.styles[layer.id] = style;