Skip to content

Commit

Permalink
fix(MVT): MVTStyle.layer with ref property
Browse files Browse the repository at this point in the history
  • Loading branch information
ftoromanoff committed Nov 26, 2024
1 parent 589fd85 commit b8869ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Source/VectorTilesSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b8869ff

Please sign in to comment.