Shorter name

This commit is contained in:
Tim Schaub
2013-01-21 18:06:14 -07:00
parent f80f4fab36
commit e4132813af

View File

@@ -1,4 +1,4 @@
goog.provide('ol.layer.VectorLayer');
goog.provide('ol.layer.Vector');
goog.require('ol.layer.Layer');
goog.require('ol.source.Vector');
@@ -10,15 +10,15 @@ goog.require('ol.source.Vector');
* @extends {ol.layer.Layer}
* @param {ol.layer.LayerOptions} layerOptions Layer options.
*/
ol.layer.VectorLayer = function(layerOptions) {
ol.layer.Vector = function(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.
*/
ol.layer.VectorLayer.prototype.getVectorSource = function() {
ol.layer.Vector.prototype.getVectorSource = function() {
return /** @type {ol.source.Vector} */ (this.getSource());
};