Add raster layout group

This commit is contained in:
Lukas Martinelli
2017-01-08 19:58:19 +01:00
parent 118f0360d0
commit e9daee4470
2 changed files with 31 additions and 1 deletions

View File

@@ -112,11 +112,12 @@ export default class LayerEditor extends React.Component {
value={this.props.layer.source}
onChange={v => this.changeProperty(null, 'source', v)}
/>
<LayerSourceLayerBlock
{this.props.layer.type !== 'raster' && <LayerSourceLayerBlock
sourceLayerIds={this.props.sources[this.props.layer.source]}
value={this.props.layer['source-layer']}
onChange={v => this.changeProperty(null, 'source-layer', v)}
/>
}
{this.props.layer.filter &&
<div style={input.property}>
<FilterEditor