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

@@ -3,8 +3,7 @@ import View from '../src/ol/View.js';
import Draw 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()