mirror of
https://github.com/maputnik/editor.git
synced 2026-08-24 22:17:25 +00:00
Always show all features in inspect mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user