Skip to content

Commit

Permalink
Changed the hillshade colors
Browse files Browse the repository at this point in the history
  • Loading branch information
jleedev committed Sep 18, 2024
1 parent e12f62c commit 56760ba
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/layer/hillshade.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@ export const hillshading = {
id: "hillshading",
type: "hillshade",
source: "dem",
maxzoom: 15,
paint: {
"hillshade-exaggeration": [
"interpolate",
["linear"],
["zoom"],
3,
0.2,
6,
1,
12,
0.5,
0.7,
15,
0,
],
"hillshade-shadow-color": "rgba(102,85,51,1)",
"hillshade-highlight-color": "rgba(255,255,204,1)",
"hillshade-accent-color": "rgba(0,0,0,1)",
"hillshade-shadow-color": "hsla(30, 14%, 76%, 1)",
"hillshade-highlight-color": "hsla(30, 44%, 99%, 1)",
},
};

0 comments on commit 56760ba

Please sign in to comment.