diff --git a/src/app.jsx b/src/app.jsx index ed9c6020..d3da4f4d 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -39,7 +39,8 @@ export default class App extends React.Component { this.state = { accessToken: this.settingsStore.accessToken, workContext: "layers", - currentStyle: style.emptyStyle + currentStyle: style.emptyStyle, + mapRenderer: 'gl', } } @@ -99,6 +100,10 @@ export default class App extends React.Component { } render() { + const mapProps = { + mapStyle: this.state.currentStyle, + accessToken: this.state.accessToken, + } return