@chrtco/sdk 0.9.1 → 0.10.0

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.
@@ -120,4 +120,19 @@ declare function reloadS101SymbolImages(map: maplibregl.Map, colorTable: ColorTa
120
120
  /** Load the house glyphs into the map as `chrt:{name}` images. */
121
121
  declare function loadChrtSymbolImages(map: maplibregl.Map): Promise<void>;
122
122
 
123
- export { type LoadCachedOptions, clearS52SymbolImageCache, getS52AtlasVersion, loadChrtSymbolImages, loadS101SymbolImages, loadS52SymbolImages, loadS52SymbolImagesCached, loadSymbolImages, loadThemedBridgeImages, reloadS101SymbolImages, reloadS52SymbolImages, reloadS52SymbolImagesCached };
123
+ /**
124
+ * Browser-only CHRTraster image loader. Registers the synthesized
125
+ * paper-chart colour variants on a MapLibre map under the `raster:`
126
+ * namespace, themed through the S-52 palette (the SVGs carry colour
127
+ * TOKENS, like the extracted S-52 set). The vendored paper-table vectors
128
+ * the set also references are part of the standard S-52 image set — load
129
+ * that as usual; this loader only adds the synthesized variants.
130
+ */
131
+
132
+ /** Load every synthesized CHRTraster variant as `raster:{NAME}`. Individual
133
+ * image failures resolve silently (matching the S-52 loader). */
134
+ declare function loadChrtRasterSymbolImages(map: maplibregl.Map, colorTable?: ColorTableName): Promise<void>;
135
+ /** Reload the CHRTraster set with a new colour table (theme switch). */
136
+ declare function reloadChrtRasterSymbolImages(map: maplibregl.Map, colorTable: ColorTableName): Promise<void>;
137
+
138
+ export { type LoadCachedOptions, clearS52SymbolImageCache, getS52AtlasVersion, loadChrtRasterSymbolImages, loadChrtSymbolImages, loadS101SymbolImages, loadS52SymbolImages, loadS52SymbolImagesCached, loadSymbolImages, loadThemedBridgeImages, reloadChrtRasterSymbolImages, reloadS101SymbolImages, reloadS52SymbolImages, reloadS52SymbolImagesCached };
@@ -120,4 +120,19 @@ declare function reloadS101SymbolImages(map: maplibregl.Map, colorTable: ColorTa
120
120
  /** Load the house glyphs into the map as `chrt:{name}` images. */
121
121
  declare function loadChrtSymbolImages(map: maplibregl.Map): Promise<void>;
122
122
 
123
- export { type LoadCachedOptions, clearS52SymbolImageCache, getS52AtlasVersion, loadChrtSymbolImages, loadS101SymbolImages, loadS52SymbolImages, loadS52SymbolImagesCached, loadSymbolImages, loadThemedBridgeImages, reloadS101SymbolImages, reloadS52SymbolImages, reloadS52SymbolImagesCached };
123
+ /**
124
+ * Browser-only CHRTraster image loader. Registers the synthesized
125
+ * paper-chart colour variants on a MapLibre map under the `raster:`
126
+ * namespace, themed through the S-52 palette (the SVGs carry colour
127
+ * TOKENS, like the extracted S-52 set). The vendored paper-table vectors
128
+ * the set also references are part of the standard S-52 image set — load
129
+ * that as usual; this loader only adds the synthesized variants.
130
+ */
131
+
132
+ /** Load every synthesized CHRTraster variant as `raster:{NAME}`. Individual
133
+ * image failures resolve silently (matching the S-52 loader). */
134
+ declare function loadChrtRasterSymbolImages(map: maplibregl.Map, colorTable?: ColorTableName): Promise<void>;
135
+ /** Reload the CHRTraster set with a new colour table (theme switch). */
136
+ declare function reloadChrtRasterSymbolImages(map: maplibregl.Map, colorTable: ColorTableName): Promise<void>;
137
+
138
+ export { type LoadCachedOptions, clearS52SymbolImageCache, getS52AtlasVersion, loadChrtRasterSymbolImages, loadChrtSymbolImages, loadS101SymbolImages, loadS52SymbolImages, loadS52SymbolImagesCached, loadSymbolImages, loadThemedBridgeImages, reloadChrtRasterSymbolImages, reloadS101SymbolImages, reloadS52SymbolImages, reloadS52SymbolImagesCached };