Make tile cache smaller and screen size dependant

This commit is contained in:
ahocevar
2019-01-21 22:35:48 +01:00
parent a5d93117ed
commit b6d115d868
13 changed files with 25 additions and 13 deletions

View File

@@ -96,7 +96,7 @@ class VectorTile extends UrlTile {
super({
attributions: options.attributions,
cacheSize: options.cacheSize !== undefined ? options.cacheSize : 128,
cacheSize: options.cacheSize,
opaque: false,
projection: projection,
state: options.state,