Added 'state' constructor option to Tile and TileImage sources

This commit is contained in:
Petr Sloup
2014-08-13 17:11:29 +02:00
parent ff209d8759
commit 4b24eb6eb2
3 changed files with 5 additions and 1 deletions

View File

@@ -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
});
/**