Restructure layer settings for add modal

This commit is contained in:
Lukas Martinelli
2016-12-29 14:44:46 +01:00
parent ccc39b87db
commit bf5131cadd
10 changed files with 205 additions and 120 deletions

View File

@@ -164,6 +164,7 @@ export default class App extends React.Component {
const toolbar = <Toolbar
mapStyle={this.state.mapStyle}
sources={this.layerWatcher.sources}
onStyleChanged={this.onStyleChanged.bind(this)}
onStyleOpen={this.onStyleChanged.bind(this)}
onStyleDownload={this.onStyleDownload.bind(this)}