Skip to content

Commit

Permalink
3d-tiles: fix b3dm tile stop rendering issue (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhuang01 authored and ibgreen committed Sep 11, 2019
1 parent 688df15 commit 01c7a20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/3d-tiles/tile-3d-layer/tile-3d-layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ export default class Tile3DLayer extends CompositeLayer {
}

renderLayers() {
return this.state.layers;
const layerMapValues = Object.values(this.state.layerMap);
return layerMapValues.map(x => x.layer);
}
}

Expand Down

0 comments on commit 01c7a20

Please sign in to comment.