Rename _ol_layer_Vector_ to VectorLayer

This commit is contained in:
Tim Schaub
2018-01-08 10:05:12 -07:00
parent 24dd0ca924
commit 45c6e43b42
90 changed files with 246 additions and 246 deletions

View File

@@ -2,7 +2,7 @@ import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import GeoJSON from '../src/ol/format/GeoJSON.js';
import TileLayer from '../src/ol/layer/Tile.js';
import _ol_layer_Vector_ from '../src/ol/layer/Vector.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 _ol_style_Circle_ from '../src/ol/style/Circle.js';
@@ -140,7 +140,7 @@ function polygonStyleFunction(feature, resolution) {
});
}
var vectorPolygons = new _ol_layer_Vector_({
var vectorPolygons = new VectorLayer({
source: new _ol_source_Vector_({
url: 'data/geojson/polygon-samples.geojson',
format: new GeoJSON()
@@ -160,7 +160,7 @@ function lineStyleFunction(feature, resolution) {
});
}
var vectorLines = new _ol_layer_Vector_({
var vectorLines = new VectorLayer({
source: new _ol_source_Vector_({
url: 'data/geojson/line-samples.geojson',
format: new GeoJSON()
@@ -181,7 +181,7 @@ function pointStyleFunction(feature, resolution) {
});
}
var vectorPoints = new _ol_layer_Vector_({
var vectorPoints = new VectorLayer({
source: new _ol_source_Vector_({
url: 'data/geojson/point-samples.geojson',
format: new GeoJSON()