Add olx.layer.ImageOptions typedef
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user