@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.cjs
CHANGED
|
@@ -28241,7 +28241,13 @@ var LAND_THEMES = {
|
|
|
28241
28241
|
halo: "#f2ead6",
|
|
28242
28242
|
shadow: "#6b5a3e",
|
|
28243
28243
|
highlight: "#fffaf0",
|
|
28244
|
-
fade: "#e8f2f8"
|
|
28244
|
+
fade: "#e8f2f8",
|
|
28245
|
+
// Raised from 0.45 on 2026-08-23. ⚠ Above the ~0.5 that
|
|
28246
|
+
// hillshade-style.mjs warns "starts competing with depth areas" — a
|
|
28247
|
+
// deliberate, sighted choice made against rendered evidence, not a
|
|
28248
|
+
// default. If soundings or DEPARE ever read as fighting the terrain,
|
|
28249
|
+
// this number is the first thing to walk back.
|
|
28250
|
+
exaggeration: 0.8
|
|
28245
28251
|
},
|
|
28246
28252
|
DUSK: {
|
|
28247
28253
|
base: "#4a4433",
|
|
@@ -28254,7 +28260,9 @@ var LAND_THEMES = {
|
|
|
28254
28260
|
halo: "#2b2820",
|
|
28255
28261
|
shadow: "#2e2a20",
|
|
28256
28262
|
highlight: "#8a8068",
|
|
28257
|
-
fade: "#16202a"
|
|
28263
|
+
fade: "#16202a",
|
|
28264
|
+
// Unchanged. DUSK was not the palette the 0.8 decision was made against.
|
|
28265
|
+
exaggeration: 0.45
|
|
28258
28266
|
},
|
|
28259
28267
|
NIGHT: {
|
|
28260
28268
|
base: "#2a2620",
|
|
@@ -28267,7 +28275,12 @@ var LAND_THEMES = {
|
|
|
28267
28275
|
halo: "#15130f",
|
|
28268
28276
|
shadow: "#1a1712",
|
|
28269
28277
|
highlight: "#4a4436",
|
|
28270
|
-
fade: "#07090b"
|
|
28278
|
+
fade: "#07090b",
|
|
28279
|
+
// ⚠ DELIBERATELY NOT RAISED. See the type's note: a strong hillshade
|
|
28280
|
+
// under red night vision is a grey haze over exactly the contrast a
|
|
28281
|
+
// skipper is navigating by. Left at the shipped value rather than
|
|
28282
|
+
// lowered, because lowering it is a separate decision from this one.
|
|
28283
|
+
exaggeration: 0.45
|
|
28271
28284
|
}
|
|
28272
28285
|
};
|
|
28273
28286
|
var FITS = ["<=", ["coalesce", ["get", "min_z"], 0], ["zoom"]];
|
|
@@ -28330,7 +28343,7 @@ function landLayers(opts = {}) {
|
|
|
28330
28343
|
type: "hillshade",
|
|
28331
28344
|
source: demSrc,
|
|
28332
28345
|
paint: {
|
|
28333
|
-
"hillshade-exaggeration":
|
|
28346
|
+
"hillshade-exaggeration": T.exaggeration,
|
|
28334
28347
|
"hillshade-shadow-color": T.shadow,
|
|
28335
28348
|
"hillshade-highlight-color": T.highlight,
|
|
28336
28349
|
"hillshade-accent-color": T.shadow
|