mirror of
https://github.com/maputnik/editor.git
synced 2026-01-07 14:00:01 +00:00
Have both Mapbox GL and OL3 as map targets
This commit is contained in:
@@ -6,7 +6,7 @@ import Container from 'rebass/dist/Container'
|
||||
import Block from 'rebass/dist/Block'
|
||||
import Fixed from 'rebass/dist/Fixed'
|
||||
|
||||
import { Map } from './map.jsx'
|
||||
import { MapboxGlMap, OpenLayer3Map } from './map.jsx'
|
||||
import {Toolbar} from './toolbar.jsx'
|
||||
import style from './style.js'
|
||||
import { loadDefaultStyle, SettingsStore, StyleStore } from './stylestore.js'
|
||||
@@ -110,7 +110,7 @@ export default class App extends React.Component {
|
||||
accessToken={this.state.accessToken}
|
||||
onAccessTokenChanged={this.onAccessTokenChanged.bind(this)}
|
||||
/>
|
||||
<Map
|
||||
<OpenLayer3Map
|
||||
mapStyle={this.state.currentStyle}
|
||||
accessToken={this.state.accessToken}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user