diff --git a/examples/disable-image-smoothing.js b/examples/disable-image-smoothing.js index 13d462ba6d..41318fbcea 100644 --- a/examples/disable-image-smoothing.js +++ b/examples/disable-image-smoothing.js @@ -15,7 +15,8 @@ const disabledLayer = new TileLayer({ attributions: attributions, url: 'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key, - maxZoom: 10, + tileSize: 512, + maxZoom: 12, crossOrigin: '', imageSmoothing: false, }), @@ -36,7 +37,8 @@ const enabledLayer = new TileLayer({ attributions: attributions, url: 'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key, - maxZoom: 10, + tileSize: 512, + maxZoom: 12, crossOrigin: '', }), }); diff --git a/examples/sea-level.js b/examples/sea-level.js index 2c5100de4c..741107883c 100644 --- a/examples/sea-level.js +++ b/examples/sea-level.js @@ -30,7 +30,8 @@ const elevation = new TileLayer({ source: new XYZ({ url: 'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key, - maxZoom: 10, + tileSize: 512, + maxZoom: 12, crossOrigin: '', }), }); @@ -52,6 +53,7 @@ const map = new Map({ attributions: attributions, url: 'https://api.maptiler.com/maps/streets/{z}/{x}/{y}.png?key=' + key, tileSize: 512, + maxZoom: 22, }), }), new ImageLayer({ diff --git a/examples/webgl-sea-level.js b/examples/webgl-sea-level.js index 4b34d003d0..bb300d5275 100644 --- a/examples/webgl-sea-level.js +++ b/examples/webgl-sea-level.js @@ -31,8 +31,8 @@ const layer = new TileLayer({ source: new XYZ({ url: 'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key, - maxZoom: 10, tileSize: 512, + maxZoom: 12, crossOrigin: 'anonymous', }), style: { @@ -58,6 +58,7 @@ const map = new Map({ attributions: attributions, crossOrigin: 'anonymous', tileSize: 512, + maxZoom: 22, }), }), layer,