Remove highlighted layer from metadata in style

This commit is contained in:
Lukas Martinelli
2016-12-29 15:51:11 +01:00
parent d1b8f8d63e
commit e36c233b49
2 changed files with 0 additions and 25 deletions

View File

@@ -28,8 +28,6 @@ export default class LayerEditor extends React.Component {
layer: React.PropTypes.object.isRequired,
sources: React.PropTypes.object,
vectorLayers: React.PropTypes.object,
highlightLayer: React.PropTypes.bool,
onHighlightLayerChange: React.PropTypes.func,
onLayerChanged: React.PropTypes.func,
onLayerIdChange: React.PropTypes.func,
}
@@ -147,13 +145,6 @@ export default class LayerEditor extends React.Component {
value={this.props.layer['source-layer']}
onChange={v => this.changeProperty(null, 'source-layer', v)}
/>
<InputBlock label={"Inspection Mode"}>
<MultiButtonInput
value={this.props.highlightLayer ? "highlight" : "normal"}
options={[["highlight", "Highlight"], ["normal", "Normal"]]}
onChange={v => this.props.onHighlightLayerChange(v === "highlight")}
/>
</InputBlock>
</div>
case 'properties': return <PropertyGroup
layer={this.props.layer}