Example how to display fields from spec

This commit is contained in:
lukasmartinelli
2016-09-10 22:58:15 +02:00
parent 890169751b
commit 61d24fdb2b
4 changed files with 59 additions and 4 deletions

View File

@@ -91,11 +91,15 @@ export class LayerEditor extends React.Component {
}
if (type === "line") {
return <LineLayer />
return <LineLayer
layer={this.props.layer}
/>
}
if (type === "symbol") {
return <SymbolLayer />
return <SymbolLayer
layer={this.props.layer}
/>
}
return <UnsupportedLayer />