Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Define projection to allow overzoom

ZachTRice413b7f21f307
diff --git a/web/js/map/layerbuilder.js b/web/js/map/layerbuilder.js
index 441e7e933..29867d568 100644
--- a/web/js/map/layerbuilder.js
+++ b/web/js/map/layerbuilder.js
@@ -361,12 +361,9 @@ export function mapLayerBuilder(models, config, cache, mapUi, store) {
var sourceOptions = new SourceVectorTile({
url: source.url + urlParameters,
- cacheSize: 8192,
layer: layerName,
- crossOrigin: 'anonymous',
format: new MVT(),
- overlaps: false,
- wrapX: false,
+ projection: 'EPSG:4326',
tileGrid: new OlTileGridTileGrid({
extent: extent,
origin: start,
@@ -399,11 +396,8 @@ export function mapLayerBuilder(models, config, cache, mapUi, store) {
};
var layer = new LayerVectorTile({
- renderMode: 'image',
- renderBuffer: 2,
extent: extent,
source: sourceOptions,
- declutter: false,
style: styles
});