@chrtco/sdk 0.10.50 → 0.10.52
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/CHANGELOG.md +17 -0
- package/dist/atlas/browser.cjs +4202 -601
- package/dist/atlas/browser.cjs.map +1 -1
- package/dist/atlas/browser.js +4202 -601
- package/dist/atlas/browser.js.map +1 -1
- package/dist/index.cjs +3037 -1986
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +445 -22
- package/dist/index.d.ts +445 -22
- package/dist/index.js +3006 -1986
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to `@chrtco/sdk` will be documented in this file.
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
|
+
- **`generateStyle({ dangerDepthRounding: 'down' })`** — the depth beside a rock, wreck or
|
|
9
|
+
obstruction rounded toward the shallower figure (ADR 0047): whole feet floored in a feet style,
|
|
10
|
+
metres floored to the decimetre. Default `'nearest'`, the served form, byte-identical to the
|
|
11
|
+
style without it. CHRTpaper prints with `'down'`. `DangerDepthRounding`.
|
|
12
|
+
- **CHRTland summit heights follow `depthUnits`.** In a feet style a summit reads `410 ft`
|
|
13
|
+
(nearest foot, as a height), not `125 m`; a metres style is unchanged.
|
|
8
14
|
- **`generateStyle({ dangerDepthPlacers: true })`** — the danger depths (the depth beside a rock,
|
|
9
15
|
wreck or obstruction) as a pair: an invisible placer `s52-{UWTROC,OBSTRN,WRECKS}-placer-label`
|
|
10
16
|
in 0.10.3's collision form (`text-opacity: 0`) beneath each callout, which is then always drawn
|
|
@@ -90,6 +96,17 @@ All notable changes to `@chrtco/sdk` will be documented in this file.
|
|
|
90
96
|
still the tile-worker's to stamp. `RasterDemSource` gains the optional
|
|
91
97
|
`attribution` field `PmtilesVectorSource` already had.
|
|
92
98
|
|
|
99
|
+
### Changed
|
|
100
|
+
- **A light's name is placed ahead of the soundings.** The tower under a light
|
|
101
|
+
(LNDMRK with FUNCTN 33 "light support" and a name) labels from a new layer,
|
|
102
|
+
`s52-LNDMRK-light-label`, at `LIGHTHOUSE_NAME_LABEL_PRIORITY` (270): after
|
|
103
|
+
fog signals, buoy designations and light characteristics, and before the
|
|
104
|
+
major water and island names and the soundings. Named lights around Boston
|
|
105
|
+
and Penobscot Bay that print their name at z14 go from 16 of 22 to 22.
|
|
106
|
+
`LIGHTHOUSE_NAME_FILTER`. The layer carries 270 in `chrt:labelPriority`, so a
|
|
107
|
+
reader that hides the 400 rung (CHRTweb's Simple level) keeps a light's name.
|
|
108
|
+
One more symbol layer in every mode (continuous 376, 381 with `land`).
|
|
109
|
+
|
|
93
110
|
## [0.10.40]
|
|
94
111
|
|
|
95
112
|
The first publish since 0.10.39 (2026-09-11, from `ada7e73e`). The publish
|