mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 16:10:01 +00:00
Select default value for renderer
This commit is contained in:
@@ -68,7 +68,7 @@ class SettingsModal extends React.Component {
|
||||
['mbgljs', 'MapboxGL JS'],
|
||||
['ol3', 'Open Layers 3']
|
||||
]}
|
||||
value={(this.props.mapStyle.metadata || {})['maputnik:renderer']}
|
||||
value={(this.props.mapStyle.metadata || {})['maputnik:renderer'] || 'mbgljs'}
|
||||
onChange={this.onRendererChange.bind(this)}
|
||||
/>
|
||||
</InputBlock>
|
||||
|
||||
Reference in New Issue
Block a user