Define source and layer settings in layout.json

This commit is contained in:
Lukas Martinelli
2016-12-22 14:05:29 +01:00
parent 9e5f0c1736
commit e307f58caf
3 changed files with 79 additions and 49 deletions

View File

@@ -35,6 +35,7 @@ export default class PropertyGroup extends React.Component {
}
render() {
console.log(this.props.layer.id, this.props.groupFields)
const fields = this.props.groupFields.map(fieldName => {
const fieldSpec = getFieldSpec(this.props.layer.type, fieldName)