Introduce ol.render.Feature
This commit is contained in:
@@ -19,6 +19,7 @@ goog.require('ol.tilegrid.TileGrid');
|
||||
|
||||
/**
|
||||
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
|
||||
* cacheSize: (number|undefined),
|
||||
* extent: (ol.Extent|undefined),
|
||||
* logo: (string|olx.LogoOptions|undefined),
|
||||
* opaque: (boolean|undefined),
|
||||
@@ -77,7 +78,7 @@ ol.source.Tile = function(options) {
|
||||
* @protected
|
||||
* @type {ol.TileCache}
|
||||
*/
|
||||
this.tileCache = new ol.TileCache();
|
||||
this.tileCache = new ol.TileCache(options.cacheSize);
|
||||
|
||||
/**
|
||||
* @protected
|
||||
|
||||
Reference in New Issue
Block a user