Remove ol.source.Vector2
This commit is contained in:
@@ -718,18 +718,6 @@
|
|||||||
* @todo stability experimental
|
* @todo stability experimental
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* @typedef {Object} ol.source.Vector2Options
|
|
||||||
* @property {Array.<ol.Attribution>|undefined} attributions Attributions.
|
|
||||||
* @property {ol.Extent|undefined} extent Extent.
|
|
||||||
* @property {Array.<ol.geom2.LineStringCollection>|undefined}
|
|
||||||
* lineStringCollections Line string collections.
|
|
||||||
* @property {Array.<ol.geom2.PointCollection>|undefined} pointCollections
|
|
||||||
* Point collections.
|
|
||||||
* @property {ol.proj.ProjectionLike} projection Projection.
|
|
||||||
* @todo stability experimental
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} ol.source.WMSGetFeatureInfoOptions
|
* @typedef {Object} ol.source.WMSGetFeatureInfoOptions
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
@exportSymbol ol.source.Vector2
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
goog.provide('ol.source.Vector2');
|
|
||||||
|
|
||||||
goog.require('ol.geom2.LineStringCollection');
|
|
||||||
goog.require('ol.geom2.PointCollection');
|
|
||||||
goog.require('ol.source.Source');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This is an internal class that will be removed from the API.
|
|
||||||
* @constructor
|
|
||||||
* @extends {ol.source.Source}
|
|
||||||
* @param {ol.source.Vector2Options} options Options.
|
|
||||||
* @todo stability experimental
|
|
||||||
*/
|
|
||||||
ol.source.Vector2 = function(options) {
|
|
||||||
|
|
||||||
goog.base(this, {
|
|
||||||
attributions: options.attributions,
|
|
||||||
extent: options.extent,
|
|
||||||
projection: options.projection
|
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @private
|
|
||||||
* @type {Array.<ol.geom2.PointCollection>}
|
|
||||||
*/
|
|
||||||
this.pointCollections_ = goog.isDef(options.pointCollections) ?
|
|
||||||
options.pointCollections : [];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @private
|
|
||||||
* @type {Array.<ol.geom2.LineStringCollection>}
|
|
||||||
*/
|
|
||||||
this.lineStringCollections_ = goog.isDef(options.lineStringCollections) ?
|
|
||||||
options.lineStringCollections : [];
|
|
||||||
|
|
||||||
};
|
|
||||||
goog.inherits(ol.source.Vector2, ol.source.Source);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return {Array.<ol.geom2.LineStringCollection>} Line string collections.
|
|
||||||
*/
|
|
||||||
ol.source.Vector2.prototype.getLineStringCollections = function() {
|
|
||||||
return this.lineStringCollections_;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return {Array.<ol.geom2.PointCollection>} Point collections.
|
|
||||||
*/
|
|
||||||
ol.source.Vector2.prototype.getPointCollections = function() {
|
|
||||||
return this.pointCollections_;
|
|
||||||
};
|
|
||||||
Reference in New Issue
Block a user