Rename _ol_source_Vector_ to VectorSource

This commit is contained in:
Tim Schaub
2018-01-08 10:06:23 -07:00
parent 45c6e43b42
commit ca6ea355e6
94 changed files with 279 additions and 279 deletions

View File

@@ -7,7 +7,7 @@ import GeoJSON from '../src/ol/format/GeoJSON.js';
import TileLayer from '../src/ol/layer/Tile.js';
import VectorLayer from '../src/ol/layer/Vector.js';
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
import _ol_source_Vector_ from '../src/ol/source/Vector.js';
import VectorSource from '../src/ol/source/Vector.js';
var map = new Map({
layers: [
@@ -15,7 +15,7 @@ var map = new Map({
source: new _ol_source_OSM_()
}),
new VectorLayer({
source: new _ol_source_Vector_({
source: new VectorSource({
url: 'data/geojson/countries.geojson',
format: new GeoJSON()
})