mirror of
https://github.com/maputnik/editor.git
synced 2026-12-01 06:14:20 +00:00
Keep existing metadata when toggling inspection #45
This commit is contained in:
1 parent
3be6d14637
commit
a1dfeca6e0
1 file changed
+1
@@ -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