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

@@ -9,7 +9,7 @@ import _ol_coordinate_ from '../coordinate.js';
import EventType from '../events/EventType.js';
import {buffer, createEmpty, createOrUpdateFromCoordinate} from '../extent.js';
import Point from '../geom/Point.js';
import _ol_source_Vector_ from '../source/Vector.js';
import VectorSource from '../source/Vector.js';
/**
* @classdesc
@@ -23,7 +23,7 @@ import _ol_source_Vector_ from '../source/Vector.js';
* @api
*/
var _ol_source_Cluster_ = function(options) {
_ol_source_Vector_.call(this, {
VectorSource.call(this, {
attributions: options.attributions,
extent: options.extent,
projection: options.projection,
@@ -70,7 +70,7 @@ var _ol_source_Cluster_ = function(options) {
_ol_source_Cluster_.prototype.refresh, this);
};
inherits(_ol_source_Cluster_, _ol_source_Vector_);
inherits(_ol_source_Cluster_, VectorSource);
/**
@@ -127,7 +127,7 @@ _ol_source_Cluster_.prototype.refresh = function() {
this.clear();
this.cluster();
this.addFeatures(this.features);
_ol_source_Vector_.prototype.refresh.call(this);
VectorSource.prototype.refresh.call(this);
};