ol-plot-enhanced
Version:
ol plot enhanced
18 lines (16 loc) • 510 B
JavaScript
import './scss/index.scss'
import PlotDraw from './core/PlotDraw'
import PlotEdit from './core/PlotEdit'
import PlotUtils from './core/PlotUtils'
import * as PlotTypes from './Utils/PlotTypes'
import * as Geometry from './Geometry'
class olPlot {
constructor (map, options) {
this.plotDraw = new PlotDraw(map, options)
this.plotEdit = new PlotEdit(map, options)
this.plotUtils = new PlotUtils(map, options)
}
static PlotTypes = PlotTypes
static Geometry = Geometry
}
export default olPlot