@chrtco/sdk 0.10.8 → 0.10.9

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.d.cts CHANGED
@@ -114,11 +114,15 @@ declare function buildOfflineStyle(onlineStyle: MapLibreStyle, mbtilesPath: stri
114
114
  * baremetal NDJSON export time). NOAA's cell-id format encodes the source
115
115
  * scale band as the third character: `US5MA85M` is band 5 (Harbor).
116
116
  *
117
- * MapLibre layer filters can't read `["zoom"]`, so to enforce "only one
118
- * band renders at any given zoom" we emit one layer copy per band, each
119
- * with a static band filter and per-band `minzoom`/`maxzoom`. The ranges
120
- * below are non-overlapping (`minzoom` inclusive, `maxzoom` exclusive),
121
- * so exactly one band is visible at any continuous zoom.
117
+ * We emit one layer copy per band, each with a static band filter and a
118
+ * per-band `minzoom`. The ranges deliberately have NO `maxzoom` and are
119
+ * NOT exclusive: bands cascade — every band whose floor is satisfied
120
+ * renders, deeper bands paint over coarser ones, and the coarser bands
121
+ * ARE the fallback wherever finer coverage is missing (see
122
+ * BAND_PRIORITY_RANGES below). An earlier design hard-swapped exactly
123
+ * one band per zoom window; that shipped visible voids wherever the
124
+ * active band had no data and was replaced by the cascade — do not
125
+ * reintroduce per-band `maxzoom` here.
122
126
  *
123
127
  * Long-term cleanup: baremetal should emit a normalized `_band: 1..6`
124
128
  * integer in NDJSON so this works for non-NOAA chart sources too. The
package/dist/index.d.ts CHANGED
@@ -114,11 +114,15 @@ declare function buildOfflineStyle(onlineStyle: MapLibreStyle, mbtilesPath: stri
114
114
  * baremetal NDJSON export time). NOAA's cell-id format encodes the source
115
115
  * scale band as the third character: `US5MA85M` is band 5 (Harbor).
116
116
  *
117
- * MapLibre layer filters can't read `["zoom"]`, so to enforce "only one
118
- * band renders at any given zoom" we emit one layer copy per band, each
119
- * with a static band filter and per-band `minzoom`/`maxzoom`. The ranges
120
- * below are non-overlapping (`minzoom` inclusive, `maxzoom` exclusive),
121
- * so exactly one band is visible at any continuous zoom.
117
+ * We emit one layer copy per band, each with a static band filter and a
118
+ * per-band `minzoom`. The ranges deliberately have NO `maxzoom` and are
119
+ * NOT exclusive: bands cascade — every band whose floor is satisfied
120
+ * renders, deeper bands paint over coarser ones, and the coarser bands
121
+ * ARE the fallback wherever finer coverage is missing (see
122
+ * BAND_PRIORITY_RANGES below). An earlier design hard-swapped exactly
123
+ * one band per zoom window; that shipped visible voids wherever the
124
+ * active band had no data and was replaced by the cascade — do not
125
+ * reintroduce per-band `maxzoom` here.
122
126
  *
123
127
  * Long-term cleanup: baremetal should emit a normalized `_band: 1..6`
124
128
  * integer in NDJSON so this works for non-NOAA chart sources too. The