Fixes for code review comments.

This commit is contained in:
orangemug 2018-09-24 21:01:37 +01:00
parent e8777e1857
commit b171bf3127
2 changed files with 2 additions and 2 deletions

View file

@ -442,7 +442,7 @@ export default class App extends React.Component {
let mapElement;
// Check if OL3 code has been loaded?
// Check if OL code has been loaded?
if(renderer === 'ol') {
mapElement = <OpenLayersMap
{...mapProps}

View file

@ -103,7 +103,7 @@ class SettingsModal extends React.Component {
data-wd-key="modal-settings.maputnik:renderer"
options={[
['mbgljs', 'MapboxGL JS'],
['ol', 'Open Layers 3 (experimental)'],
['ol', 'Open Layers (experimental)'],
]}
value={metadata['maputnik:renderer'] || 'mbgljs'}
onChange={this.changeMetadataProperty.bind(this, 'maputnik:renderer')}