Skip to content

Commit

Permalink
Fix openlayers#15686 update terrain-rgb URL and change maxZoom to 14
Browse files Browse the repository at this point in the history
  • Loading branch information
bolollo committed Mar 29, 2024
1 parent 7a88544 commit fd8c192
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/interpolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ 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,
maxZoom: 14,
crossOrigin: '',
interpolate: false,
}),
Expand All @@ -24,9 +24,9 @@ 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,
maxZoom: 14,
crossOrigin: '',
}),
});
Expand Down

0 comments on commit fd8c192

Please sign in to comment.