Pass state option to image source constructors

This commit is contained in:
Éric Lemoine
2014-01-09 14:51:27 +01:00
parent 2ed5e2a3d7
commit e4b5f309eb
3 changed files with 8 additions and 3 deletions

View File

@@ -13,12 +13,14 @@ goog.require('ol.source.Image');
* @param {olx.source.ImageCanvasOptions} options
*/
ol.source.ImageCanvas = function(options) {
goog.base(this, {
attributions: options.attributions,
extent: options.extent,
logo: options.logo,
projection: options.projection,
resolutions: options.resolutions
resolutions: options.resolutions,
state: options.state
});
/**