Remove remaining unnecessary ol.source.State casts
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user