mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
fixing boundary zoom
This commit is contained in:
parent
a62c9dc755
commit
ce56b1ce1f
1 changed files with 4 additions and 4 deletions
|
@ -119,15 +119,15 @@ const mapStyle : Style = {
|
||||||
'id': 'carto',
|
'id': 'carto',
|
||||||
'source': 'carto',
|
'source': 'carto',
|
||||||
'type': 'raster',
|
'type': 'raster',
|
||||||
'minzoom': constants.GLOBAL_MIN_ZOOM,
|
'minzoom': constants.GLOBAL_MIN_ZOOM - 1,
|
||||||
'maxzoom': constants.GLOBAL_MAX_ZOOM,
|
'maxzoom': constants.GLOBAL_MAX_ZOOM + 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'id': 'geo',
|
'id': 'geo',
|
||||||
'source': 'geo',
|
'source': 'geo',
|
||||||
'type': 'raster',
|
'type': 'raster',
|
||||||
'minzoom': constants.GLOBAL_MIN_ZOOM,
|
'minzoom': constants.GLOBAL_MIN_ZOOM - 1,
|
||||||
'maxzoom': constants.GLOBAL_MAX_ZOOM,
|
'maxzoom': constants.GLOBAL_MAX_ZOOM + 1,
|
||||||
'layout': {
|
'layout': {
|
||||||
// Make the layer visible by default.
|
// Make the layer visible by default.
|
||||||
'visibility': 'none',
|
'visibility': 'none',
|
||||||
|
|
Loading…
Add table
Reference in a new issue