Always show all features in inspect mode

This commit is contained in:
Lukas Martinelli
2016-12-29 17:30:01 +01:00
parent 853361ace7
commit d16c3f4356
3 changed files with 10 additions and 10 deletions
+3 -2
View File
@@ -24,13 +24,14 @@ const Panel = (props) => {
}
function renderFeature(feature) {
console.log(feature)
return <div>
<Panel>{feature.layer['source-layer']}</Panel>
{renderProperties(feature)}
</div>
}
class FeatureLayerTable extends React.Component {
class FeaturePropertyPopup extends React.Component {
render() {
const features = this.props.features
@@ -41,4 +42,4 @@ class FeatureLayerTable extends React.Component {
}
export default FeatureLayerTable
export default FeaturePropertyPopup