From 61d13f9a3908e3e1559e3833e6e439ad8a980d2b Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 8 Oct 2013 14:18:14 -0600 Subject: [PATCH] Remove ol.source.Vector2 --- src/objectliterals.jsdoc | 12 ------- src/ol/source/vectorsource2.exports | 1 - src/ol/source/vectorsource2.js | 55 ----------------------------- 3 files changed, 68 deletions(-) delete mode 100644 src/ol/source/vectorsource2.exports delete mode 100644 src/ol/source/vectorsource2.js diff --git a/src/objectliterals.jsdoc b/src/objectliterals.jsdoc index e107198442..ad2c6a0a0e 100644 --- a/src/objectliterals.jsdoc +++ b/src/objectliterals.jsdoc @@ -718,18 +718,6 @@ * @todo stability experimental */ -/** - * @typedef {Object} ol.source.Vector2Options - * @property {Array.|undefined} attributions Attributions. - * @property {ol.Extent|undefined} extent Extent. - * @property {Array.|undefined} - * lineStringCollections Line string collections. - * @property {Array.|undefined} pointCollections - * Point collections. - * @property {ol.proj.ProjectionLike} projection Projection. - * @todo stability experimental - */ - /** * @typedef {Object} ol.source.WMSGetFeatureInfoOptions diff --git a/src/ol/source/vectorsource2.exports b/src/ol/source/vectorsource2.exports deleted file mode 100644 index ce5f6b3c85..0000000000 --- a/src/ol/source/vectorsource2.exports +++ /dev/null @@ -1 +0,0 @@ -@exportSymbol ol.source.Vector2 diff --git a/src/ol/source/vectorsource2.js b/src/ol/source/vectorsource2.js deleted file mode 100644 index 812d724896..0000000000 --- a/src/ol/source/vectorsource2.js +++ /dev/null @@ -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.} - */ - this.pointCollections_ = goog.isDef(options.pointCollections) ? - options.pointCollections : []; - - /** - * @private - * @type {Array.} - */ - this.lineStringCollections_ = goog.isDef(options.lineStringCollections) ? - options.lineStringCollections : []; - -}; -goog.inherits(ol.source.Vector2, ol.source.Source); - - -/** - * @return {Array.} Line string collections. - */ -ol.source.Vector2.prototype.getLineStringCollections = function() { - return this.lineStringCollections_; -}; - - -/** - * @return {Array.} Point collections. - */ -ol.source.Vector2.prototype.getPointCollections = function() { - return this.pointCollections_; -};