Rename _ol_layer_Vector_ to VectorLayer
This commit is contained in:
@@ -5,7 +5,7 @@ import {defaults as defaultInteractions} from '../src/ol/interaction.js';
|
||||
import _ol_interaction_Modify_ from '../src/ol/interaction/Modify.js';
|
||||
import _ol_interaction_Select_ from '../src/ol/interaction/Select.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';
|
||||
|
||||
@@ -14,7 +14,7 @@ var raster = new TileLayer({
|
||||
source: new _ol_source_OSM_()
|
||||
});
|
||||
|
||||
var vector = new _ol_layer_Vector_({
|
||||
var vector = new VectorLayer({
|
||||
source: new _ol_source_Vector_({
|
||||
url: 'data/geojson/countries.geojson',
|
||||
format: new GeoJSON(),
|
||||
|
||||
Reference in New Issue
Block a user