Add olx.layer.ImageOptions typedef

This commit is contained in:
Frederic Junod
2014-08-29 09:07:01 +02:00
parent aa618e35e4
commit 568f854f29
2 changed files with 99 additions and 2 deletions

View File

@@ -15,10 +15,10 @@ goog.require('ol.layer.Layer');
* @constructor
* @extends {ol.layer.Layer}
* @fires ol.render.Event
* @param {olx.layer.LayerOptions} options Layer options.
* @param {olx.layer.ImageOptions} options Layer options.
* @api stable
*/
ol.layer.Image = function(options) {
goog.base(this, options);
goog.base(this, /** @type {olx.layer.LayerOptions} */ (options));
};
goog.inherits(ol.layer.Image, ol.layer.Layer);