Rename ol.layer.ImageLayer to ol.layer.Image

This commit is contained in:
Tom Payne
2013-09-09 14:36:40 +02:00
parent 5967f96047
commit 7d5a84ce8a
12 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -1 +1 @@
@exportClass ol.layer.ImageLayer ol.layer.LayerOptions
@exportClass ol.layer.Image ol.layer.LayerOptions
+4 -4
View File
@@ -1,4 +1,4 @@
goog.provide('ol.layer.ImageLayer');
goog.provide('ol.layer.Image');
goog.require('ol.layer.Layer');
goog.require('ol.source.Image');
@@ -10,15 +10,15 @@ goog.require('ol.source.Image');
* @extends {ol.layer.Layer}
* @param {ol.layer.LayerOptions} options Layer options.
*/
ol.layer.ImageLayer = function(options) {
ol.layer.Image = function(options) {
goog.base(this, options);
};
goog.inherits(ol.layer.ImageLayer, ol.layer.Layer);
goog.inherits(ol.layer.Image, ol.layer.Layer);
/**
* @return {ol.source.Image} Single image source.
*/
ol.layer.ImageLayer.prototype.getImageSource = function() {
ol.layer.Image.prototype.getImageSource = function() {
return /** @type {ol.source.Image} */ (this.getSource());
};