Skip to content

Commit

Permalink
Fix NZTM terrain exaggeration been multiplyed twice/
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Nov 14, 2024
1 parent 385971d commit 88dfa6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/lambda-tiler/src/util/nztm.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,5 @@ export function convertStyleToNztmStyle(inputStyle: StyleJson, clone: boolean =
}
}

/** Based on {@link DefaultExaggeration} offsetting by 2 two levels changes the exaggeration needed by approx 4x */
if (style.terrain) style.terrain.exaggeration = style.terrain.exaggeration * 4;

return style;
}

0 comments on commit 88dfa6a

Please sign in to comment.