Added heatmap layer type.

This commit is contained in:
orangemug
2018-02-18 11:50:04 +00:00
parent a092bc2689
commit 77ddf67201
5 changed files with 19 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ class AddModal extends React.Component {
onChange={v => this.setState({ source: v })}
/>
}
{this.state.type !== 'background' && this.state.type !== 'raster' && this.state.type !== 'hillshade' &&
{['background', 'raster', 'hillshade', 'heatmap'].indexOf(this.state.type) < 0 &&
<LayerSourceLayerBlock
isFixed={true}
sourceLayerIds={layers}