Re-export source constructors from ol/source

This commit is contained in:
Tim Schaub
2018-04-23 17:34:10 -06:00
parent 311ab0eae1
commit a5d3e91f7d
36 changed files with 65 additions and 76 deletions

View File

@@ -4,8 +4,7 @@ import Polygon from '../src/ol/geom/Polygon.js';
import Draw, {createRegularPolygon, createBox} from '../src/ol/interaction/Draw.js';
import TileLayer from '../src/ol/layer/Tile.js';
import VectorLayer from '../src/ol/layer/Vector.js';
import OSM from '../src/ol/source/OSM.js';
import VectorSource from '../src/ol/source/Vector.js';
import {OSM, Vector as VectorSource} from '../src/ol/source.js';
const raster = new TileLayer({
source: new OSM()