Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Increase queue, layer cache & check if animation is playing

ZachTRice100b78c0c0ce
diff --git a/web/js/map/layerbuilder.js b/web/js/map/layerbuilder.js
index 6f662ddcf..908872e00 100644
--- a/web/js/map/layerbuilder.js
+++ b/web/js/map/layerbuilder.js
@@ -210,6 +210,7 @@ export function mapLayerBuilder(models, config, cache, Parent) {
var sourceOptions = {
url: source.url + extra,
layer: def.layer || def.id,
+ cacheSize: 4096,
crossOrigin: 'anonymous',
format: def.format,
transition: 0,
@@ -290,6 +291,7 @@ export function mapLayerBuilder(models, config, cache, Parent) {
}
var sourceOptions = {
url: source.url + extra,
+ cacheSize: 4096,
wrapX: true,
style: 'default',
crossOrigin: 'anonymous',