Adjust tile cache size when too small

This commit is contained in:
ahocevar
2019-03-12 00:19:13 +01:00
parent c0d4cdbabf
commit 0f217392d7
12 changed files with 33 additions and 11 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ const ProviderConfig = {
/**
* @typedef {Object} Options
* @property {number} [cacheSize] Tile cache size. Default is four times as many tiles as a fullscreen map needs.
* @property {number} [cacheSize] Tile cache size. The default depends on the screen size. Will increase if too small.
* @property {string} layer Layer name.
* @property {number} [minZoom] Minimum zoom.
* @property {number} [maxZoom] Maximum zoom.