Rename ol.layer.VectorLayer2 to ol.layer.Vector2

This commit is contained in:
Tom Payne
2013-09-09 15:22:18 +02:00
parent d1659b8e69
commit bcb4813615
5 changed files with 12 additions and 12 deletions

View File

@@ -1 +1 @@
@exportSymbol ol.layer.VectorLayer2
@exportSymbol ol.layer.Vector2

View File

@@ -1,4 +1,4 @@
goog.provide('ol.layer.VectorLayer2');
goog.provide('ol.layer.Vector2');
goog.require('ol.layer.Layer');
goog.require('ol.source.Vector2');
@@ -11,15 +11,15 @@ goog.require('ol.source.Vector2');
* @extends {ol.layer.Layer}
* @param {ol.layer.LayerOptions} options Options.
*/
ol.layer.VectorLayer2 = function(options) {
ol.layer.Vector2 = function(options) {
goog.base(this, options);
};
goog.inherits(ol.layer.VectorLayer2, ol.layer.Layer);
goog.inherits(ol.layer.Vector2, ol.layer.Layer);
/**
* @return {ol.source.Vector2} Source.
*/
ol.layer.VectorLayer2.prototype.getVectorSource = function() {
ol.layer.Vector2.prototype.getVectorSource = function() {
return /** @type {ol.source.Vector2} */ (this.getSource());
};