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

@@ -30,8 +30,7 @@ ol.source.TileImage = function(options) {
logo: options.logo,
opaque: options.opaque,
projection: options.projection,
state: options.state !== undefined ?
/** @type {ol.source.State} */ (options.state) : undefined,
state: options.state,
tileGrid: options.tileGrid,
tileLoadFunction: options.tileLoadFunction ?
options.tileLoadFunction : ol.source.TileImage.defaultTileLoadFunction,