mt-polygon-simplification/compare-algorithms/src/index.js
2019-07-21 12:55:28 +02:00

28 lines
742 B
JavaScript

import React, { Component } from 'react'
import ReactDOM from 'react-dom'
import { TileLayerControl } from './components/TileLayerControl.js'
import { DataSelector } from './components/DataSelector.js'
import { LayerControl } from './components/LayerControl.js'
import { SimplificationControl } from './components/SimplificationControl.js'
import { MyMap } from './components/MyMap.js'
class App extends Component {
render() {
return (
<>
<MyMap />
<div id="options">
<h2>Options</h2>
<TileLayerControl />
<DataSelector />
<LayerControl />
<SimplificationControl />
</div>
</>
)
}
}
ReactDOM.render(<App />, document.getElementById('root'))