Skip to content

Commit

Permalink
Explicit WebMercatorQuad
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq authored Jan 21, 2025
1 parent 38ce70a commit eb0e6c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ module.exports = {
console.log(asset)
if (asset.href.endsWith('wrapped_phase.tif')) {
console.log('TITILER WRAPPED PHASE')
return "https://titiler.xyz/cog/tiles/{z}/{x}/{y}@2x?url={url}&rescale=-3.14,3.14&colormap_name=hsv";
return "https://titiler.xyz/cog/tiles/WebMercatorQuad/{z}/{x}/{y}@2x?url={url}&rescale=-3.14,3.14&colormap_name=hsv";
}
else {
console.log('TITLER DEFAULT')
return "https://titiler.xyz/cog/tiles/{z}/{x}/{y}@2x?url={url}";
return "https://titiler.xyz/cog/tiles/WebMercatorQuad/{z}/{x}/{y}@2x?url={url}";
}
},
stacProxyUrl: null,
Expand Down

0 comments on commit eb0e6c4

Please sign in to comment.