mirror of
https://github.com/maputnik/editor.git
synced 2026-07-19 12:27:26 +00:00
Clickable layer tooltips (#60)
This commit is contained in:
@@ -249,7 +249,8 @@ export default class App extends React.Component {
|
||||
} else {
|
||||
return <MapboxGlMap {...mapProps}
|
||||
inspectModeEnabled={this.state.inspectModeEnabled}
|
||||
highlightedLayer={this.state.mapStyle.layers[this.state.selectedLayerIndex]} />
|
||||
highlightedLayer={this.state.mapStyle.layers[this.state.selectedLayerIndex]}
|
||||
onLayerSelect={this.onLayerSelect.bind(this)} />
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user