Correct tile renderer map bounds for London

This updates the hard-coded bounding box for London, to correctly render tiles for parts of London east of Upminster.
This commit is contained in:
Maciej Ziarkowski 2021-05-12 00:06:42 +01:00 committed by GitHub
parent b0791c4cdc
commit c262922af9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ const STITCH_THRESHOLD = 12;
* Hard-code extent so we can short-circuit rendering and return empty/transparent tiles outside the area of interest * Hard-code extent so we can short-circuit rendering and return empty/transparent tiles outside the area of interest
* bbox in CRS epsg:3857 in form: [w, s, e, n] * bbox in CRS epsg:3857 in form: [w, s, e, n]
*/ */
const EXTENT_BBOX: BoundingBox = [-61149.622628, 6667754.851372, 28128.826409, 6744803.375884]; const EXTENT_BBOX: BoundingBox = [-61149.622628, 6667754.851372, 37183, 6744803.375884];
const allLayersCacheSwitch = parseBooleanExact(process.env.CACHE_TILES) ?? true; const allLayersCacheSwitch = parseBooleanExact(process.env.CACHE_TILES) ?? true;
const dataLayersCacheSwitch = parseBooleanExact(process.env.CACHE_DATA_TILES) ?? true; const dataLayersCacheSwitch = parseBooleanExact(process.env.CACHE_DATA_TILES) ?? true;