@chrtco/sdk 0.10.14 → 0.10.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +17 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28024,7 +28024,13 @@ var LAND_THEMES = {
|
|
|
28024
28024
|
halo: "#f2ead6",
|
|
28025
28025
|
shadow: "#6b5a3e",
|
|
28026
28026
|
highlight: "#fffaf0",
|
|
28027
|
-
fade: "#e8f2f8"
|
|
28027
|
+
fade: "#e8f2f8",
|
|
28028
|
+
// Raised from 0.45 on 2026-08-23. ⚠ Above the ~0.5 that
|
|
28029
|
+
// hillshade-style.mjs warns "starts competing with depth areas" — a
|
|
28030
|
+
// deliberate, sighted choice made against rendered evidence, not a
|
|
28031
|
+
// default. If soundings or DEPARE ever read as fighting the terrain,
|
|
28032
|
+
// this number is the first thing to walk back.
|
|
28033
|
+
exaggeration: 0.8
|
|
28028
28034
|
},
|
|
28029
28035
|
DUSK: {
|
|
28030
28036
|
base: "#4a4433",
|
|
@@ -28037,7 +28043,9 @@ var LAND_THEMES = {
|
|
|
28037
28043
|
halo: "#2b2820",
|
|
28038
28044
|
shadow: "#2e2a20",
|
|
28039
28045
|
highlight: "#8a8068",
|
|
28040
|
-
fade: "#16202a"
|
|
28046
|
+
fade: "#16202a",
|
|
28047
|
+
// Unchanged. DUSK was not the palette the 0.8 decision was made against.
|
|
28048
|
+
exaggeration: 0.45
|
|
28041
28049
|
},
|
|
28042
28050
|
NIGHT: {
|
|
28043
28051
|
base: "#2a2620",
|
|
@@ -28050,7 +28058,12 @@ var LAND_THEMES = {
|
|
|
28050
28058
|
halo: "#15130f",
|
|
28051
28059
|
shadow: "#1a1712",
|
|
28052
28060
|
highlight: "#4a4436",
|
|
28053
|
-
fade: "#07090b"
|
|
28061
|
+
fade: "#07090b",
|
|
28062
|
+
// ⚠ DELIBERATELY NOT RAISED. See the type's note: a strong hillshade
|
|
28063
|
+
// under red night vision is a grey haze over exactly the contrast a
|
|
28064
|
+
// skipper is navigating by. Left at the shipped value rather than
|
|
28065
|
+
// lowered, because lowering it is a separate decision from this one.
|
|
28066
|
+
exaggeration: 0.45
|
|
28054
28067
|
}
|
|
28055
28068
|
};
|
|
28056
28069
|
var FITS = ["<=", ["coalesce", ["get", "min_z"], 0], ["zoom"]];
|
|
@@ -28113,7 +28126,7 @@ function landLayers(opts = {}) {
|
|
|
28113
28126
|
type: "hillshade",
|
|
28114
28127
|
source: demSrc,
|
|
28115
28128
|
paint: {
|
|
28116
|
-
"hillshade-exaggeration":
|
|
28129
|
+
"hillshade-exaggeration": T.exaggeration,
|
|
28117
28130
|
"hillshade-shadow-color": T.shadow,
|
|
28118
28131
|
"hillshade-highlight-color": T.highlight,
|
|
28119
28132
|
"hillshade-accent-color": T.shadow
|