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

@@ -11,7 +11,7 @@ import Interaction from '../../../src/ol/interaction/Interaction.js';
import MouseWheelZoom from '../../../src/ol/interaction/MouseWheelZoom.js';
import _ol_interaction_PinchZoom_ from '../../../src/ol/interaction/PinchZoom.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_renderer_canvas_IntermediateCanvas_ from '../../../src/ol/renderer/canvas/IntermediateCanvas.js';
import _ol_source_Vector_ from '../../../src/ol/source/Vector.js';
import _ol_source_XYZ_ from '../../../src/ol/source/XYZ.js';
@@ -195,7 +195,7 @@ describe('ol.Map', function() {
document.body.appendChild(target);
map = new Map({
target: target,
layers: [new _ol_layer_Vector_({
layers: [new VectorLayer({
source: new _ol_source_Vector_({
features: [new Feature(new LineString([[-50, 0], [50, 0]]))]
})
@@ -225,7 +225,7 @@ describe('ol.Map', function() {
it('returns an array of found features with declutter: true', function() {
var layer = map.getLayers().item(0);
map.removeLayer(layer);
var otherLayer = new _ol_layer_Vector_({
var otherLayer = new VectorLayer({
declutter: true,
source: layer.getSource()
});
@@ -237,7 +237,7 @@ describe('ol.Map', function() {
});
it('respects options', function() {
var otherLayer = new _ol_layer_Vector_({
var otherLayer = new VectorLayer({
source: new _ol_source_Vector_
});
map.addLayer(otherLayer);