Remove logging and force OL3 to redraw

This commit is contained in:
Lukas Martinelli
2016-12-22 21:06:32 +01:00
parent 5d68867840
commit 42fd5dcfa7
7 changed files with 21 additions and 25 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class ColorField extends React.Component {
left: pos.left + 165,
}
} else {
console.log('No elem!!')
console.warn('Color field has no element to adjust position')
return {
top: 160,
left: 500,
-1
View File
@@ -35,7 +35,6 @@ 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)