Skip to content

Commit

Permalink
custom tiler
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq authored Jan 20, 2024
1 parent ff2d8b6 commit 3a552e2
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 @@ -27,10 +27,10 @@ module.exports = {
console.log(url)
console.log(asset)
if (asset.href.endswith('wrapped_phase.tif')) {
return "https://titiler.xyz/cog/tiles/{z}/{x}/{y}@2x?url={url}&rescale=-3.14,3.14&colormap_name=hsv";
return "https://o2dj1bd0a4.execute-api.us-west-2.amazonaws.com/tiles/{z}/{x}/{y}@2x?url={url}&rescale=-3.14,3.14&colormap_name=hsv";
}
else {
return "https://tiles.rdnt.io/tiles/{z}/{x}/{y}@2x?url={url}";
return "https://o2dj1bd0a4.execute-api.us-west-2.amazonaws.com/tiles/{z}/{x}/{y}@2x?url={url}";
}
},
stacProxyUrl: null,
Expand Down

0 comments on commit 3a552e2

Please sign in to comment.