mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 05:11:15 +01:00
Fix for new sources definition.
This commit is contained in:
parent
a4fbe55012
commit
002e9c4647
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ export default class LayerEditor extends React.Component {
|
|||
/>
|
||||
}
|
||||
{this.props.layer.type !== 'raster' && this.props.layer.type !== 'background' && <LayerSourceLayerBlock
|
||||
sourceLayerIds={this.props.sources[this.props.layer.source]}
|
||||
sourceLayerIds={this.props.sources[this.props.layer.source].layers}
|
||||
value={this.props.layer['source-layer']}
|
||||
onChange={v => this.changeProperty(null, 'source-layer', v)}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue