mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 08:00:01 +00:00
Keep existing metadata when toggling inspection #45
This commit is contained in:
@@ -114,6 +114,7 @@ export default class Toolbar extends React.Component {
|
||||
const changedStyle = {
|
||||
...this.props.mapStyle,
|
||||
metadata: {
|
||||
...this.props.mapStyle.metadata,
|
||||
'maputnik:renderer': changedRenderer
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user