Skip to content

Commit

Permalink
Fixes openlayers#15686 update terrain-rgb URL
Browse files Browse the repository at this point in the history
  • Loading branch information
bolollo committed Apr 2, 2024
1 parent 7a88544 commit 4fd4e2e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/interpolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '',
Expand All @@ -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: '',
Expand Down

0 comments on commit 4fd4e2e

Please sign in to comment.