From 4fd4e2e7203d17523a0249c4b37f14b9747c0c24 Mon Sep 17 00:00:00 2001 From: bolollo Date: Fri, 29 Mar 2024 13:54:01 +0100 Subject: [PATCH] Fixes #15686 update terrain-rgb URL --- examples/interpolation.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/interpolation.js b/examples/interpolation.js index cf1c23f7f60..dc906eeca04 100644 --- a/examples/interpolation.js +++ b/examples/interpolation.js @@ -12,7 +12,8 @@ const notInterpolated = new TileLayer({ source: new XYZ({ attributions: attributions, url: - 'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key, + 'https://api.maptiler.com/tiles/terrain-rgb-v2/{z}/{x}/{y}.webp?key=' + + key, tileSize: 512, maxZoom: 12, crossOrigin: '', @@ -24,7 +25,8 @@ const interpolated = new TileLayer({ source: new XYZ({ attributions: attributions, url: - 'https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=' + key, + 'https://api.maptiler.com/tiles/terrain-rgb-v2/{z}/{x}/{y}.webp?key=' + + key, tileSize: 512, maxZoom: 12, crossOrigin: '',