Rename ol.layer.VectorLayer2 to ol.layer.Vector2
This commit is contained in:
@@ -1 +1 @@
|
||||
@exportSymbol ol.layer.VectorLayer2
|
||||
@exportSymbol ol.layer.Vector2
|
||||
|
||||
@@ -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());
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user