Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Shorter name

  • Loading branch information...
commit e4132813af567ffd95683e7b632cda94902c95d1 1 parent f80f4fa
@tschaub tschaub authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/ol/layer/vectorlayer.js
View
8 src/ol/layer/vectorlayer.js
@@ -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());
};
Please sign in to comment.
Something went wrong with that request. Please try again.