Make tile cache smaller and screen size dependant
This commit is contained in:
@@ -50,7 +50,7 @@ const TOS_ATTRIBUTION = '<a class="ol-attribution-bing-tos" ' +
|
||||
|
||||
/**
|
||||
* @typedef {Object} Options
|
||||
* @property {number} [cacheSize=2048] Cache size.
|
||||
* @property {number} [cacheSize] Tile cache size. Default is twice as many tiles as a fullscreen map needs.
|
||||
* @property {boolean} [hidpi=false] If `true` hidpi tiles will be requested.
|
||||
* @property {string} [culture='en-us'] Culture code.
|
||||
* @property {string} key Bing Maps API key. Get yours at http://www.bingmapsportal.com/.
|
||||
|
||||
Reference in New Issue
Block a user