mirror of
https://github.com/maputnik/editor.git
synced 2026-01-03 03:50:00 +00:00
Drag and drop layer order
This commit is contained in:
@@ -86,8 +86,8 @@ export default class App extends React.Component {
|
||||
}
|
||||
|
||||
onLayersChanged(changedLayers) {
|
||||
const changedStyle = this.props.mapStyle.set('layers', changedLayers)
|
||||
this.props.onStyleChanged(changedStyle)
|
||||
const changedStyle = this.state.mapStyle.set('layers', changedLayers)
|
||||
this.onStyleChanged(changedStyle)
|
||||
}
|
||||
|
||||
mapRenderer() {
|
||||
|
||||
Reference in New Issue
Block a user