@chrtco/sdk 0.9.2 → 0.10.1
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 +126 -1
- package/README.md +406 -38
- package/dist/atlas/browser.cjs +9011 -609
- package/dist/atlas/browser.cjs.map +1 -1
- package/dist/atlas/browser.d.cts +16 -1
- package/dist/atlas/browser.d.ts +16 -1
- package/dist/atlas/browser.js +9009 -609
- package/dist/atlas/browser.js.map +1 -1
- package/dist/index.cjs +9919 -778
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +777 -56
- package/dist/index.d.ts +777 -56
- package/dist/index.js +9898 -780
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/atlas/browser.d.cts
CHANGED
|
@@ -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
|
-
|
|
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 };
|
package/dist/atlas/browser.d.ts
CHANGED
|
@@ -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
|
-
|
|
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 };
|