Remove ol.source.Vector2

This commit is contained in:
Tim Schaub
2013-10-08 14:18:14 -06:00
parent 75b40a60c0
commit 61d13f9a39
3 changed files with 0 additions and 68 deletions

View File

@@ -718,18 +718,6 @@
* @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

View File

@@ -1 +0,0 @@
@exportSymbol ol.source.Vector2

View File

@@ -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_;
};