Shorter name
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
goog.provide('ol.layer.VectorLayer');
|
goog.provide('ol.layer.Vector');
|
||||||
|
|
||||||
goog.require('ol.layer.Layer');
|
goog.require('ol.layer.Layer');
|
||||||
goog.require('ol.source.Vector');
|
goog.require('ol.source.Vector');
|
||||||
@@ -10,15 +10,15 @@ goog.require('ol.source.Vector');
|
|||||||
* @extends {ol.layer.Layer}
|
* @extends {ol.layer.Layer}
|
||||||
* @param {ol.layer.LayerOptions} layerOptions Layer options.
|
* @param {ol.layer.LayerOptions} layerOptions Layer options.
|
||||||
*/
|
*/
|
||||||
ol.layer.VectorLayer = function(layerOptions) {
|
ol.layer.Vector = function(layerOptions) {
|
||||||
goog.base(this, layerOptions);
|
goog.base(this, layerOptions);
|
||||||
};
|
};
|
||||||
goog.inherits(ol.layer.VectorLayer, ol.layer.Layer);
|
goog.inherits(ol.layer.Vector, ol.layer.Layer);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {ol.source.Vector} Source.
|
* @return {ol.source.Vector} Source.
|
||||||
*/
|
*/
|
||||||
ol.layer.VectorLayer.prototype.getVectorSource = function() {
|
ol.layer.Vector.prototype.getVectorSource = function() {
|
||||||
return /** @type {ol.source.Vector} */ (this.getSource());
|
return /** @type {ol.source.Vector} */ (this.getSource());
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user