Remove remaining unnecessary ol.source.State casts

This commit is contained in:
Guillaume Beraudo
2016-01-21 16:05:06 +01:00
parent f2c1fd207e
commit 9132d91f66
3 changed files with 3 additions and 6 deletions

View File

@@ -22,8 +22,7 @@ ol.source.ImageCanvas = function(options) {
logo: options.logo,
projection: options.projection,
resolutions: options.resolutions,
state: options.state !== undefined ?
/** @type {ol.source.State} */ (options.state) : undefined
state: options.state
});
/**