mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-29 15:01:18 -07:00
[BUG] Tiles disappear after zoom 11 (#324)
This commit is contained in:
parent
d0c281ec72
commit
be0256e896
3 changed files with 7 additions and 2 deletions
|
@ -57,4 +57,4 @@ describe('Tests for the Explore the Map page', () => {
|
|||
expect(punx1001FeatureState).to.deep.equal({'selected': true});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -20,7 +20,7 @@ export const GLOBAL_MAX_ZOOM = 22;
|
|||
export const GLOBAL_MIN_ZOOM_LOW = 3;
|
||||
export const GLOBAL_MAX_ZOOM_LOW = 9;
|
||||
export const GLOBAL_MIN_ZOOM_HIGH = 9;
|
||||
export const GLOBAL_MAX_ZOOM_HIGH = 12;
|
||||
export const GLOBAL_MAX_ZOOM_HIGH = 11;
|
||||
|
||||
// Bounds
|
||||
export const GLOBAL_MAX_BOUNDS = [
|
||||
|
|
|
@ -71,6 +71,11 @@ const mapStyle : Style = {
|
|||
// For local development, use:
|
||||
// 'http://localhost:8080/data/tl_2010_bg_with_data/{z}/{x}/{y}.pbf',
|
||||
],
|
||||
|
||||
// Seeting maxzoom here enables 'overzooming'
|
||||
// e.g. continued zooming beyond the max bounds.
|
||||
// More here: https://docs.mapbox.com/help/glossary/overzoom/
|
||||
'maxzoom': constants.GLOBAL_MAX_ZOOM_HIGH,
|
||||
},
|
||||
'labels': {
|
||||
'type': 'raster',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue