Added 'state' constructor option to Tile and TileImage sources
This commit is contained in:
@@ -17,6 +17,7 @@ goog.require('ol.tilegrid.TileGrid');
|
||||
* opaque: (boolean|undefined),
|
||||
* tilePixelRatio: (number|undefined),
|
||||
* projection: ol.proj.ProjectionLike,
|
||||
* state: (ol.source.State|string|undefined),
|
||||
* tileGrid: (ol.tilegrid.TileGrid|undefined)}}
|
||||
*/
|
||||
ol.source.TileOptions;
|
||||
@@ -39,7 +40,8 @@ ol.source.Tile = function(options) {
|
||||
attributions: options.attributions,
|
||||
extent: options.extent,
|
||||
logo: options.logo,
|
||||
projection: options.projection
|
||||
projection: options.projection,
|
||||
state: options.state
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user