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

@@ -5,8 +5,7 @@ import GeoJSON from '../src/ol/format/GeoJSON.js';
import ExtentInteraction from '../src/ol/interaction/Extent.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 vectorSource = new VectorSource({
url: 'data/geojson/countries.geojson',