Skip to content

Commit

Permalink
chore: added missing maximumLevel in globe layers
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Jul 18, 2024
1 parent 0360cce commit a376fe7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
6 changes: 4 additions & 2 deletions api/config/layers/basemap/ign-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
format: 'image/png',
layer: 'GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2',
style: 'normal',
tileMatrixSetID: 'PM'
tileMatrixSetID: 'PM',
maximumLevel: 19
}
}, {
name: 'Layers.IGN_IMAGERY',
Expand Down Expand Up @@ -73,7 +74,8 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
format: 'image/png',
layer: 'ORTHOIMAGERY.ORTHOPHOTOS',
style: 'normal',
tileMatrixSetID: 'PM'
tileMatrixSetID: 'PM',
maximumLevel: 19
}
}]
}
6 changes: 4 additions & 2 deletions api/config/layers/basemap/imagery-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
cesium: {
type: 'TileMapService',
url: `${tmsUrl}/imagery@GLOBAL_WEBMERCATOR`,
fileExtension: 'jpeg'
fileExtension: 'jpeg',
maximumLevel: 19
}
},
{
Expand Down Expand Up @@ -70,7 +71,8 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
cesium: {
type: 'TileMapService',
url: `${tmsUrl}/hybrid@GLOBAL_WEBMERCATOR`,
fileExtension: 'jpeg'
fileExtension: 'jpeg',
maximumLevel: 18
}
}]
}
9 changes: 6 additions & 3 deletions api/config/layers/basemap/osm-layers.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
},
cesium: {
type: 'TileMapService',
url: `${tmsUrl}/osm-bright@GLOBAL_WEBMERCATOR`
url: `${tmsUrl}/osm-bright@GLOBAL_WEBMERCATOR`,
maximumLevel: 18
}
},
{
Expand Down Expand Up @@ -69,7 +70,8 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
},
cesium: {
type: 'TileMapService',
url: `${tmsUrl}/osm-dark@GLOBAL_WEBMERCATOR`
url: `${tmsUrl}/osm-dark@GLOBAL_WEBMERCATOR`,
maximumLevel: 18
}
},
{
Expand Down Expand Up @@ -106,7 +108,8 @@ module.exports = function ({ wmtsUrl, tmsUrl, wmsUrl, wcsUrl, k2Url, s3Url }) {
},
cesium: {
type: 'TileMapService',
url: `${tmsUrl}/osm-terrain-bright@GLOBAL_WEBMERCATOR`
url: `${tmsUrl}/osm-terrain-bright@GLOBAL_WEBMERCATOR`,
maximumLevel: 18
}
},
{
Expand Down

0 comments on commit a376fe7

Please sign in to comment.