@chrtco/sdk 0.10.11 → 0.10.13
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 +12 -0
- package/dist/index.cjs +217 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +120 -11
- package/dist/index.d.ts +120 -11
- package/dist/index.js +206 -45
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2531,7 +2531,9 @@ declare function getCollisionSettings(viewingGroup?: number): {
|
|
|
2531
2531
|
/**
|
|
2532
2532
|
* Get the resolved Mapbox GL style for a given S-57 layer.
|
|
2533
2533
|
*/
|
|
2534
|
-
declare function resolveStyle(layerName: string, geomKind?: GeomType, ct?: ColorTableName
|
|
2534
|
+
declare function resolveStyle(layerName: string, geomKind?: GeomType, ct?: ColorTableName, opts?: {
|
|
2535
|
+
safetyContour?: number;
|
|
2536
|
+
}): ResolvedStyle;
|
|
2535
2537
|
declare function getLookupEntry(layerName: string): LookupEntry;
|
|
2536
2538
|
|
|
2537
2539
|
/**
|
|
@@ -2551,20 +2553,17 @@ declare function getLookupEntry(layerName: string): LookupEntry;
|
|
|
2551
2553
|
* high-contrast shade (see `getLabelConfig` in labels.ts).
|
|
2552
2554
|
* - §CSYM02 — isolated dangers shoaler than the contour get the
|
|
2553
2555
|
* DNGCIR01 ring (see `buildLayersForClass` in layer-builder.ts).
|
|
2556
|
+
* - §DEPARE04 — the MS/MD shade boundary (owner decision 2026-08-21,
|
|
2557
|
+
* replacing a hardcoded 5 m middle cut; see the DEPARE block below
|
|
2558
|
+
* for the full IHO correspondence).
|
|
2554
2559
|
*
|
|
2555
|
-
*
|
|
2560
|
+
* All are overridden by the user's setting (sounding panel slider,
|
|
2556
2561
|
* `safetyContour` in the style options); this is only the fallback when
|
|
2557
2562
|
* none is supplied. It matches `custom-style.ts`'s config default.
|
|
2558
|
-
*
|
|
2559
|
-
* NOTE: `depareFillExpression` below deliberately does NOT use this — its
|
|
2560
|
-
* 2/5/18.2 m bands are the four-shade DEPARE ramp (see DEPARE_DEEP_CUT_M
|
|
2561
|
-
* for why the deep cut is 18.2), a separate concept from the safety
|
|
2562
|
-
* contour. Wiring those to the user's contour would change rendering for
|
|
2563
|
-
* every existing user and needs its own decision.
|
|
2564
2563
|
*/
|
|
2565
2564
|
declare const DEFAULT_SAFETY_CONTOUR_M = 10;
|
|
2566
|
-
declare function depareColor(props: Record<string, unknown>, ct?: ColorTableName): string;
|
|
2567
|
-
declare function depareFillExpression(ct?: ColorTableName): unknown[];
|
|
2565
|
+
declare function depareColor(props: Record<string, unknown>, ct?: ColorTableName, safetyContourM?: number): string;
|
|
2566
|
+
declare function depareFillExpression(ct?: ColorTableName, safetyContourM?: number): unknown[];
|
|
2568
2567
|
declare function lightColor(props: Record<string, unknown>, ct?: ColorTableName): string;
|
|
2569
2568
|
declare function lightFillExpression(ct?: ColorTableName): unknown[];
|
|
2570
2569
|
declare function lateralColor(props: Record<string, unknown>, ct?: ColorTableName): string;
|
|
@@ -2578,6 +2577,81 @@ declare function daymarkColor(props: Record<string, unknown>, ct?: ColorTableNam
|
|
|
2578
2577
|
* Defines which layers get text labels and how to extract label text.
|
|
2579
2578
|
*/
|
|
2580
2579
|
|
|
2580
|
+
/**
|
|
2581
|
+
* Feature-class hierarchy for SEAARE labels. Returns a tier number 1-5 per
|
|
2582
|
+
* feature:
|
|
2583
|
+
*
|
|
2584
|
+
* Exported (with the other tier builders below) for the build-side parity
|
|
2585
|
+
* test: CHRTbaremetal replicates these taxonomies as data in
|
|
2586
|
+
* tools/chrt-baremetal/server/src/tilebuild/placeNameTiers.ts to stamp
|
|
2587
|
+
* `tier` onto PLACENAME index features, and
|
|
2588
|
+
* placename-tier-parity.test.ts evaluates the two against shared
|
|
2589
|
+
* fixtures. Change a branch here and that test names the drift.
|
|
2590
|
+
*
|
|
2591
|
+
* 1 — Ocean (OBJNAM contains "<X> Ocean" — CATSEA has no
|
|
2592
|
+
* ocean code; the attribute is 1/unset on oceans)
|
|
2593
|
+
* 2 — Sea / Gulf (OBJNAM "Gulf of …" / "… Sea")
|
|
2594
|
+
* 3 — Bay / Sound / (CATSEA in {5 bay, 12 narrows} OR OBJNAM
|
|
2595
|
+
* Strait / Narrows " Bay" / " Sound" / " Strait")
|
|
2596
|
+
* 4 — Anchorage detail (OBJNAM contains "Anchorage Area")
|
|
2597
|
+
* 5 — Relief + default (CATSEA relief codes — authoritative — or
|
|
2598
|
+
* relief-term names, or anything uncategorised;
|
|
2599
|
+
* suppressed below z9 by the size curve)
|
|
2600
|
+
*
|
|
2601
|
+
* Order matters: tier-4/5 demotions (anchorages, relief) run BEFORE the
|
|
2602
|
+
* promotion shims so "Bear Seamount" (contains " Sea") and "…Anchorage
|
|
2603
|
+
* Area" compound names can't bubble up into headline tiers.
|
|
2604
|
+
* `coalesce(CATSEA, catsea)` handles post-tippecanoe case variation
|
|
2605
|
+
* (matches `s52-conditional.ts` precedent).
|
|
2606
|
+
*/
|
|
2607
|
+
declare function buildSeaAreaTierExpression(): ExpressionSpecification;
|
|
2608
|
+
/**
|
|
2609
|
+
* Built-up area tier (BUAARE): major city / town / neighborhood.
|
|
2610
|
+
* 1 — Major city (CATBUA=1 urban, or OBJNAM length <= 8)
|
|
2611
|
+
* 2 — Town (CATBUA=5 village, or OBJNAM length <= 14)
|
|
2612
|
+
* 3 — Neighborhood (longer compound names)
|
|
2613
|
+
*
|
|
2614
|
+
* Tier 1/2 may fire via CATBUA when populated; OBJNAM length is the
|
|
2615
|
+
* fallback so unpopulated CATBUA still produces a usable hierarchy.
|
|
2616
|
+
*/
|
|
2617
|
+
declare function buildBuiltUpAreaTierExpression(): ExpressionSpecification;
|
|
2618
|
+
/**
|
|
2619
|
+
* Land region tier (LNDRGN): major region vs. local point.
|
|
2620
|
+
* 1 — Major region (OBJNAM length <= 12 AND no comma — "Long Island", "Cape Cod")
|
|
2621
|
+
* 2 — Local point (else — "Bird Island", "Cottage Park")
|
|
2622
|
+
*
|
|
2623
|
+
* No CATLND analog for region scope, so OBJNAM is the only signal.
|
|
2624
|
+
* The comma-absence test is a heuristic: NOAA compound names like
|
|
2625
|
+
* "Boston Harbor, MA Castle Island" carry a comma and belong at deeper
|
|
2626
|
+
* zoom regardless of length.
|
|
2627
|
+
*/
|
|
2628
|
+
declare function buildLandRegionTierExpression(): ExpressionSpecification;
|
|
2629
|
+
/**
|
|
2630
|
+
* Land area tier (LNDARE): major vs. local.
|
|
2631
|
+
* 1 — Major (OBJNAM length <= 12)
|
|
2632
|
+
* 2 — Local
|
|
2633
|
+
*
|
|
2634
|
+
* No category attribute. OBJNAM length is the only signal.
|
|
2635
|
+
*/
|
|
2636
|
+
declare function buildLandAreaTierExpression(): ExpressionSpecification;
|
|
2637
|
+
/**
|
|
2638
|
+
* Lake tier (LAKARE): lake vs. reservoir/pond.
|
|
2639
|
+
* 1 — Lake (CATLAK=1, or OBJNAM length <= 12)
|
|
2640
|
+
* 2 — Reservoir/pond (CATLAK in {2,3}, or longer name)
|
|
2641
|
+
*/
|
|
2642
|
+
declare function buildLakeTierExpression(): ExpressionSpecification;
|
|
2643
|
+
/**
|
|
2644
|
+
* River tier (RIVERS): major vs. local.
|
|
2645
|
+
* 1 — Major river (OBJNAM length <= 15 AND no comma)
|
|
2646
|
+
* 2 — Local creek (else)
|
|
2647
|
+
*/
|
|
2648
|
+
declare function buildRiverTierExpression(): ExpressionSpecification;
|
|
2649
|
+
/**
|
|
2650
|
+
* Airport tier (AIRARE): major airport vs. small airstrip.
|
|
2651
|
+
* 1 — Major (OBJNAM length <= 25 — e.g. "Logan International Airport")
|
|
2652
|
+
* 2 — Airstrip
|
|
2653
|
+
*/
|
|
2654
|
+
declare function buildAirportTierExpression(): ExpressionSpecification;
|
|
2581
2655
|
interface LabelLayerConfig {
|
|
2582
2656
|
/** Mapbox source layer type */
|
|
2583
2657
|
type: "symbol";
|
|
@@ -2754,6 +2828,22 @@ declare function isNavAidLayer(layerName: string): boolean;
|
|
|
2754
2828
|
* Computes a simple average-coordinate centroid for each polygon feature that has OBJNAM.
|
|
2755
2829
|
*/
|
|
2756
2830
|
declare function preprocessWaterBodies(fc: GeoJSON.FeatureCollection): GeoJSON.FeatureCollection;
|
|
2831
|
+
/** MVT layer the build-side place-name index emits. */
|
|
2832
|
+
declare const PLACENAME_SOURCE_LAYER = "PLACENAME";
|
|
2833
|
+
/** Orientation classes whose names render italic (water voice). */
|
|
2834
|
+
declare const PLACENAME_WATER_CLASSES: readonly string[];
|
|
2835
|
+
/** Orientation classes whose names render upright (land voice). */
|
|
2836
|
+
declare const PLACENAME_LAND_CLASSES: readonly string[];
|
|
2837
|
+
/**
|
|
2838
|
+
* The 2 PLACENAME symbol layers. Layout contract (design §2.2): collision
|
|
2839
|
+
* ON (`allow-overlap: false`, `ignore-placement: false`,
|
|
2840
|
+
* `optional: true`), padding 4, `text-variable-anchor`, and
|
|
2841
|
+
* `symbol-sort-key` straight from the build-side `rank` — MapLibre places
|
|
2842
|
+
* LOWER sort keys first, and rank is minted lower-is-more-important
|
|
2843
|
+
* (tier major, bbox area minor), so when space runs out the biggest names
|
|
2844
|
+
* survive. That ranking is the per-zoom density governor P4 asked for.
|
|
2845
|
+
*/
|
|
2846
|
+
declare function buildPlaceNameLayers(sourceId: string): maplibregl.LayerSpecification[];
|
|
2757
2847
|
|
|
2758
2848
|
/**
|
|
2759
2849
|
* Spatial grid-based feature decimation for performance at low zoom levels.
|
|
@@ -3262,6 +3352,25 @@ interface StyleGeneratorOptions extends BuildSourcesOptions {
|
|
|
3262
3352
|
* When false, all soundings render in a single shade. Default true.
|
|
3263
3353
|
*/
|
|
3264
3354
|
twoShadeSoundings?: boolean;
|
|
3355
|
+
/**
|
|
3356
|
+
* Label model for the 9 orientation place-name classes (SEAARE, LNDRGN,
|
|
3357
|
+
* LAKARE, RIVERS, CANALS, BUAARE, AIRARE, LNDARE, PRDARE).
|
|
3358
|
+
*
|
|
3359
|
+
* "legacy" (default) — the per-cell-band orientation fan
|
|
3360
|
+
* (fanOrientationLabelByCellBand): one label per feature per band,
|
|
3361
|
+
* deconflicted only by `_label_anchor` tags and watermark opacity.
|
|
3362
|
+
*
|
|
3363
|
+
* "placename" — 2 PLACENAME symbol layers over the build-side
|
|
3364
|
+
* place-name index (CHRTbaremetal placeNameIndex.ts): one collision-
|
|
3365
|
+
* managed label per named place with a per-feature zoom window; the
|
|
3366
|
+
* orientation fan for those classes is NOT emitted. Requires tiles
|
|
3367
|
+
* built with the PLACENAME side index — on older tiles the layers
|
|
3368
|
+
* simply draw nothing (soft-fail is index-side), which is why the
|
|
3369
|
+
* default stays "legacy" until L2c's rebuild + Maine-coast visual
|
|
3370
|
+
* verification flips it (docs/design/chart-label-deconfliction.md
|
|
3371
|
+
* §2.3). Feature-label classes are untouched either way.
|
|
3372
|
+
*/
|
|
3373
|
+
labels?: "legacy" | "placename";
|
|
3265
3374
|
/**
|
|
3266
3375
|
* Font weight for SOUNDG labels. Default "semibold" — crisper numerals
|
|
3267
3376
|
* at small sizes on screen.
|
|
@@ -4310,4 +4419,4 @@ declare class Chrt {
|
|
|
4310
4419
|
warmTiles(region?: string): Promise<void>;
|
|
4311
4420
|
}
|
|
4312
4421
|
|
|
4313
|
-
export { ALL_NAV_AID_LAYERS, ALL_WATER_BODY_LAYERS, AREA_QUERY_LAYERS, ATON_EXPRESSION_CLASSES, type AheadCoverageCell, type AheadFeatureProperties, type AheadOptions, type AheadResponse, type AlongRouteFeatureProperties, type AlongRouteOptions, type AlongRouteResponse, type AreaInspectResult, type AtlasStyle, type AttachOptions, BAND_DRAW_ORDER, BAND_PRIORITY_RANGES, type BBox, BRIDGE_QUERY_LAYERS, BUILD_MAXZOOM, BUILD_MINZOOM, type BandCode, type BandPriorityRange, type BridgeInspectResult, type BuildOfflineStyleOptions, type BuildSourcesOptions, CHART_BAND_CODES, CHART_CASCADE_CODES, CHART_SECTIONS, CHRTRASTER_REF_CROPS, CHRTRASTER_SVGS, CHRT_ATON_COLORS, CHRT_GLYPH_NAMES, CHRT_GLYPH_SVGS, CHRT_ICON_EXPRESSIONS, CHRT_ICON_PREFIX, CHRT_SDF_GLYPHS, CHRT_STYLE_MODES, type CandidateQueryOptions, type CandidatesEventContext, type CellDeletedEvent, type CellDetail, type CellEventData, type CellNewEvent, type CellUpdatedData, type CellUpdatedEvent, type CellsOptions, type CellsResponse, type ChartSection, Chrt, type ChrtConfig, ChrtError, type ChrtStyleMode, type ChrtStyleOptions, type ChrtStyleTheme, type ChrtSymbolSet, type ClickAnchor, ColorTableName, type CoverageOptions, type CoverageResponse, type CoverageRouteCell, type CoverageRouteOptions, type CoverageRouteResponse, type CoverageSource, type CustomStyleConfig, DEFAULT_CLICK_TOLERANCE, DEFAULT_CUSTOM_STYLE_CONFIG, DEFAULT_INSPECT_CLASS_RANK, DEFAULT_LABEL_SETTINGS, DEFAULT_NAV_AID_SETTINGS, DEFAULT_REGION, DEFAULT_SAFETY_CONTOUR_M, DEFAULT_SOUNDING_SETTINGS, DEFAULT_TILE_BASE_URL, DEFAULT_TILE_REGION, DEFAULT_WATER_BODY_SETTINGS, type DecodedAreaFeature, type DecodedBridge, type DecodedNavAid, type DecodedProperty, type DisplayCategory, type DisplayMode, type FeatureCollection, type FeaturesOptions, type FetchStyleOptions, FileSystemAdapter, type FlashPattern, type FlashPhase, type GenerateCustomStyleOptions, type GeneratedCustomStyle, type GeoJsonFeature, type GeoJsonGeometry, type GeomType, INSPECT_CLASS_RANK, INSPECT_RANK_DEVIATIONS, type InspectCandidate, type InspectCandidateSet, type InspectEnrichment, type InspectEventContext, type InspectNotice, type InspectOptions, type InspectResult, type InspectTargetClass, type InspectableFeature, InteractClient, type InteractEntitlement, InteractError, type InteractErrorCode, type InteractHandle, type InteractMapLike, type InteractMapMouseEvent, LABELED_LAYERS, LABEL_BEHAVIOR, LABEL_LAYER_GROUPS, LABEL_PRIORITY, LAND_REGION, type LabelBehavior, type LabelConfigOptions, type LabelLayerConfig, type LabelSettings, type LookupEntry, type MapLibreStyle, type MapboxStyle, type MapboxVectorSource, type MarineAlert, type MarineAlertsOptions, type MarineAlertsResponse, type MarineConditionsOptions, type MarineConditionsResponse, type MarineForecastOptions, type MarineForecastPeriod, type MarineForecastResponse, type MarineSeas, type MarineStation, type MarineSwellTrain, type MarineWind, type MarineZoneRef, NAUTICAL_SYMBOLS, NAV_AID_LAYER_GROUPS, NAV_AID_QUERY_LAYERS, NON_SOLAS_DISCLAIMER, NON_SOLAS_DISCLAIMER_SHORT, type NauticalCategory, type NauticalSymbol, type NavAidInspectResult, type NavAidSettings, type NearbyMarineStation, type OfflineBundleResponse, type OfflineDownloadOptions, type OfflineDownloadProgress, type OfflineDownloadResult, OfflineError, type OfflineErrorCode, type OfflineFetchStyleOptions, type OfflineHeartbeatOptions, type OfflineRegionSummary, type OfflineRemoveOptions, OfflineStyleError, type OfflineStylePlatform, type OfflineStyleResponse, type PmtilesVectorSource, type QueryFeatureProperties, type QueryOptions, type QueryResponse, RASTER_ATON_CLASSES, RASTER_GLYPH_NAMES, RASTER_ICON_PREFIX, RELIEF_REGION, type ResolvedStyle, type ResolvedTheme, type S101ArtworkProvenance, type S101Feature, S101_AREA_FILL_NAMES, S101_CHART_SECTIONS, S101_FEATURES, S101_ICON_PREFIX, S101_LINE_STYLE_NAMES, S101_NEW_SYMBOLS, S101_NO_OFFICIAL_COUNTERPART, S101_SOURCE_COMMIT, S101_SYMBOL_GROUPS, S101_SYMBOL_NAMES, S52_ATON_LOOKUPS, S52_ATON_LOOKUPS_PAPER, S52_DRAW_ORDER, S52_LOOKUP, S52_PATTERN_SPRITE_PREFIX, SOUNDING_LAYERS, SYMBOL_FAMILIES, SYMBOL_FAMILY_META, SYMBOL_GROUPS, SYMBOL_MAP, type ScaleBand, type SearchCoverageNotice, type SearchHit, type SearchOptions, type SearchResponse, type SectorArcFeature, type SectorArcFeatureCollection, type SectorInfo, type SoundingSettings, type SourceMode, type StyleGeneratorOptions, type StyleLayer, type StyleUrlOptions, type SymbolFamily, type SymbolFamilyMeta, type SymbolGroup, TileAuth, type TileGroup, type TileGroupsResponse, TileTokenError, type TileTokenErrorCode, type TileTokenResponse, type TransformRequest, type TransformedRequest, type VectorSourceSpec, type VesselProfile, WATER_BODY_LAYER_GROUPS, type WaterBodySettings, WeatherEndpoint, type WeatherReading, type WebhookEvent, type WebhookEventType, type WebhookPayload, applyChrtSymbolSet, applyColorTheme, applyCustomStyleSettings, applyRasterSymbolSet, applyS101SymbolSet, atonIconExpression, bandFilterExpression, buildFlashPattern, buildLabelLayer, buildLayersForClass, buildOfflineStyle, buildSectorArcGeoJSON, buildSectorArcsFC, buildSectorsFromFeatures, buildSources, candidateRank, chrtAtonTintExpression, chrtLightTintExpression, collectCandidates, collectClickCandidates, combineWithBandFilter, daymarkColor, decimateFeatures, decodeAreaFeatureProps, decodeBridgeProps, decodeCandidate, decodeNavAidProps, depareColor, depareFillExpression, deriveMarinerName, extractNavAidDesignation, featureIdentity, generateCustomStyle, generateSpriteManifest, generateSpriteSheet, generateStyle, generateStyleJSON, getAvailableLineSymbols, getAvailablePatterns, getAvailablePointSymbols, getCollisionSettings, getDrawPriority, getGridSizeForZoom, getIconExpression, getLabelBehavior, getLabelConfig, getLabelPriority, getLookupEntry, getMaxCellsForZoom, getOrderedClasses, getRasterSvg, getS52SvgString, getS52SymbolStats, getStyleStats, getSymbolSvgString, getThemedS101Svg, getThemedS52Svg, getTopmarkMeaning, hazardColor, hazardFillExpression, iconExpressionForFamily, isLabelLayerVisible, isNavAidLayer, isNavAidLayerVisible, isSoundingLayerVisible, isVisibleInMode, isWaterBodyLayerVisible, labelSortKey, lateralColor, lateralFillExpression, lightColor, lightFillExpression, lightsIconExpression, normalizeStyleMode, normalizeTheme, paginate, parseListCodes, parseSymbolFamily, parseWebhook, patternSpriteId, preprocessLights, preprocessNavAids, preprocessSoundings, preprocessWaterBodies, rasterAtonIconExpression, resolveCustomTheme, resolveRasterImage, resolveS101Color, resolveStyle, resolveTargetClass, s101ArtworkProvenance, sanitizeCustomStyleConfig, scaleSizeValue, scaminToMinZoom, styleModeBand, withinBboxFilter, worldMinusBboxPolygon };
|
|
4422
|
+
export { ALL_NAV_AID_LAYERS, ALL_WATER_BODY_LAYERS, AREA_QUERY_LAYERS, ATON_EXPRESSION_CLASSES, type AheadCoverageCell, type AheadFeatureProperties, type AheadOptions, type AheadResponse, type AlongRouteFeatureProperties, type AlongRouteOptions, type AlongRouteResponse, type AreaInspectResult, type AtlasStyle, type AttachOptions, BAND_DRAW_ORDER, BAND_PRIORITY_RANGES, type BBox, BRIDGE_QUERY_LAYERS, BUILD_MAXZOOM, BUILD_MINZOOM, type BandCode, type BandPriorityRange, type BridgeInspectResult, type BuildOfflineStyleOptions, type BuildSourcesOptions, CHART_BAND_CODES, CHART_CASCADE_CODES, CHART_SECTIONS, CHRTRASTER_REF_CROPS, CHRTRASTER_SVGS, CHRT_ATON_COLORS, CHRT_GLYPH_NAMES, CHRT_GLYPH_SVGS, CHRT_ICON_EXPRESSIONS, CHRT_ICON_PREFIX, CHRT_SDF_GLYPHS, CHRT_STYLE_MODES, type CandidateQueryOptions, type CandidatesEventContext, type CellDeletedEvent, type CellDetail, type CellEventData, type CellNewEvent, type CellUpdatedData, type CellUpdatedEvent, type CellsOptions, type CellsResponse, type ChartSection, Chrt, type ChrtConfig, ChrtError, type ChrtStyleMode, type ChrtStyleOptions, type ChrtStyleTheme, type ChrtSymbolSet, type ClickAnchor, ColorTableName, type CoverageOptions, type CoverageResponse, type CoverageRouteCell, type CoverageRouteOptions, type CoverageRouteResponse, type CoverageSource, type CustomStyleConfig, DEFAULT_CLICK_TOLERANCE, DEFAULT_CUSTOM_STYLE_CONFIG, DEFAULT_INSPECT_CLASS_RANK, DEFAULT_LABEL_SETTINGS, DEFAULT_NAV_AID_SETTINGS, DEFAULT_REGION, DEFAULT_SAFETY_CONTOUR_M, DEFAULT_SOUNDING_SETTINGS, DEFAULT_TILE_BASE_URL, DEFAULT_TILE_REGION, DEFAULT_WATER_BODY_SETTINGS, type DecodedAreaFeature, type DecodedBridge, type DecodedNavAid, type DecodedProperty, type DisplayCategory, type DisplayMode, type FeatureCollection, type FeaturesOptions, type FetchStyleOptions, FileSystemAdapter, type FlashPattern, type FlashPhase, type GenerateCustomStyleOptions, type GeneratedCustomStyle, type GeoJsonFeature, type GeoJsonGeometry, type GeomType, INSPECT_CLASS_RANK, INSPECT_RANK_DEVIATIONS, type InspectCandidate, type InspectCandidateSet, type InspectEnrichment, type InspectEventContext, type InspectNotice, type InspectOptions, type InspectResult, type InspectTargetClass, type InspectableFeature, InteractClient, type InteractEntitlement, InteractError, type InteractErrorCode, type InteractHandle, type InteractMapLike, type InteractMapMouseEvent, LABELED_LAYERS, LABEL_BEHAVIOR, LABEL_LAYER_GROUPS, LABEL_PRIORITY, LAND_REGION, type LabelBehavior, type LabelConfigOptions, type LabelLayerConfig, type LabelSettings, type LookupEntry, type MapLibreStyle, type MapboxStyle, type MapboxVectorSource, type MarineAlert, type MarineAlertsOptions, type MarineAlertsResponse, type MarineConditionsOptions, type MarineConditionsResponse, type MarineForecastOptions, type MarineForecastPeriod, type MarineForecastResponse, type MarineSeas, type MarineStation, type MarineSwellTrain, type MarineWind, type MarineZoneRef, NAUTICAL_SYMBOLS, NAV_AID_LAYER_GROUPS, NAV_AID_QUERY_LAYERS, NON_SOLAS_DISCLAIMER, NON_SOLAS_DISCLAIMER_SHORT, type NauticalCategory, type NauticalSymbol, type NavAidInspectResult, type NavAidSettings, type NearbyMarineStation, type OfflineBundleResponse, type OfflineDownloadOptions, type OfflineDownloadProgress, type OfflineDownloadResult, OfflineError, type OfflineErrorCode, type OfflineFetchStyleOptions, type OfflineHeartbeatOptions, type OfflineRegionSummary, type OfflineRemoveOptions, OfflineStyleError, type OfflineStylePlatform, type OfflineStyleResponse, PLACENAME_LAND_CLASSES, PLACENAME_SOURCE_LAYER, PLACENAME_WATER_CLASSES, type PmtilesVectorSource, type QueryFeatureProperties, type QueryOptions, type QueryResponse, RASTER_ATON_CLASSES, RASTER_GLYPH_NAMES, RASTER_ICON_PREFIX, RELIEF_REGION, type ResolvedStyle, type ResolvedTheme, type S101ArtworkProvenance, type S101Feature, S101_AREA_FILL_NAMES, S101_CHART_SECTIONS, S101_FEATURES, S101_ICON_PREFIX, S101_LINE_STYLE_NAMES, S101_NEW_SYMBOLS, S101_NO_OFFICIAL_COUNTERPART, S101_SOURCE_COMMIT, S101_SYMBOL_GROUPS, S101_SYMBOL_NAMES, S52_ATON_LOOKUPS, S52_ATON_LOOKUPS_PAPER, S52_DRAW_ORDER, S52_LOOKUP, S52_PATTERN_SPRITE_PREFIX, SOUNDING_LAYERS, SYMBOL_FAMILIES, SYMBOL_FAMILY_META, SYMBOL_GROUPS, SYMBOL_MAP, type ScaleBand, type SearchCoverageNotice, type SearchHit, type SearchOptions, type SearchResponse, type SectorArcFeature, type SectorArcFeatureCollection, type SectorInfo, type SoundingSettings, type SourceMode, type StyleGeneratorOptions, type StyleLayer, type StyleUrlOptions, type SymbolFamily, type SymbolFamilyMeta, type SymbolGroup, TileAuth, type TileGroup, type TileGroupsResponse, TileTokenError, type TileTokenErrorCode, type TileTokenResponse, type TransformRequest, type TransformedRequest, type VectorSourceSpec, type VesselProfile, WATER_BODY_LAYER_GROUPS, type WaterBodySettings, WeatherEndpoint, type WeatherReading, type WebhookEvent, type WebhookEventType, type WebhookPayload, applyChrtSymbolSet, applyColorTheme, applyCustomStyleSettings, applyRasterSymbolSet, applyS101SymbolSet, atonIconExpression, bandFilterExpression, buildAirportTierExpression, buildBuiltUpAreaTierExpression, buildFlashPattern, buildLabelLayer, buildLakeTierExpression, buildLandAreaTierExpression, buildLandRegionTierExpression, buildLayersForClass, buildOfflineStyle, buildPlaceNameLayers, buildRiverTierExpression, buildSeaAreaTierExpression, buildSectorArcGeoJSON, buildSectorArcsFC, buildSectorsFromFeatures, buildSources, candidateRank, chrtAtonTintExpression, chrtLightTintExpression, collectCandidates, collectClickCandidates, combineWithBandFilter, daymarkColor, decimateFeatures, decodeAreaFeatureProps, decodeBridgeProps, decodeCandidate, decodeNavAidProps, depareColor, depareFillExpression, deriveMarinerName, extractNavAidDesignation, featureIdentity, generateCustomStyle, generateSpriteManifest, generateSpriteSheet, generateStyle, generateStyleJSON, getAvailableLineSymbols, getAvailablePatterns, getAvailablePointSymbols, getCollisionSettings, getDrawPriority, getGridSizeForZoom, getIconExpression, getLabelBehavior, getLabelConfig, getLabelPriority, getLookupEntry, getMaxCellsForZoom, getOrderedClasses, getRasterSvg, getS52SvgString, getS52SymbolStats, getStyleStats, getSymbolSvgString, getThemedS101Svg, getThemedS52Svg, getTopmarkMeaning, hazardColor, hazardFillExpression, iconExpressionForFamily, isLabelLayerVisible, isNavAidLayer, isNavAidLayerVisible, isSoundingLayerVisible, isVisibleInMode, isWaterBodyLayerVisible, labelSortKey, lateralColor, lateralFillExpression, lightColor, lightFillExpression, lightsIconExpression, normalizeStyleMode, normalizeTheme, paginate, parseListCodes, parseSymbolFamily, parseWebhook, patternSpriteId, preprocessLights, preprocessNavAids, preprocessSoundings, preprocessWaterBodies, rasterAtonIconExpression, resolveCustomTheme, resolveRasterImage, resolveS101Color, resolveStyle, resolveTargetClass, s101ArtworkProvenance, sanitizeCustomStyleConfig, scaleSizeValue, scaminToMinZoom, styleModeBand, withinBboxFilter, worldMinusBboxPolygon };
|
package/dist/index.d.ts
CHANGED
|
@@ -2531,7 +2531,9 @@ declare function getCollisionSettings(viewingGroup?: number): {
|
|
|
2531
2531
|
/**
|
|
2532
2532
|
* Get the resolved Mapbox GL style for a given S-57 layer.
|
|
2533
2533
|
*/
|
|
2534
|
-
declare function resolveStyle(layerName: string, geomKind?: GeomType, ct?: ColorTableName
|
|
2534
|
+
declare function resolveStyle(layerName: string, geomKind?: GeomType, ct?: ColorTableName, opts?: {
|
|
2535
|
+
safetyContour?: number;
|
|
2536
|
+
}): ResolvedStyle;
|
|
2535
2537
|
declare function getLookupEntry(layerName: string): LookupEntry;
|
|
2536
2538
|
|
|
2537
2539
|
/**
|
|
@@ -2551,20 +2553,17 @@ declare function getLookupEntry(layerName: string): LookupEntry;
|
|
|
2551
2553
|
* high-contrast shade (see `getLabelConfig` in labels.ts).
|
|
2552
2554
|
* - §CSYM02 — isolated dangers shoaler than the contour get the
|
|
2553
2555
|
* DNGCIR01 ring (see `buildLayersForClass` in layer-builder.ts).
|
|
2556
|
+
* - §DEPARE04 — the MS/MD shade boundary (owner decision 2026-08-21,
|
|
2557
|
+
* replacing a hardcoded 5 m middle cut; see the DEPARE block below
|
|
2558
|
+
* for the full IHO correspondence).
|
|
2554
2559
|
*
|
|
2555
|
-
*
|
|
2560
|
+
* All are overridden by the user's setting (sounding panel slider,
|
|
2556
2561
|
* `safetyContour` in the style options); this is only the fallback when
|
|
2557
2562
|
* none is supplied. It matches `custom-style.ts`'s config default.
|
|
2558
|
-
*
|
|
2559
|
-
* NOTE: `depareFillExpression` below deliberately does NOT use this — its
|
|
2560
|
-
* 2/5/18.2 m bands are the four-shade DEPARE ramp (see DEPARE_DEEP_CUT_M
|
|
2561
|
-
* for why the deep cut is 18.2), a separate concept from the safety
|
|
2562
|
-
* contour. Wiring those to the user's contour would change rendering for
|
|
2563
|
-
* every existing user and needs its own decision.
|
|
2564
2563
|
*/
|
|
2565
2564
|
declare const DEFAULT_SAFETY_CONTOUR_M = 10;
|
|
2566
|
-
declare function depareColor(props: Record<string, unknown>, ct?: ColorTableName): string;
|
|
2567
|
-
declare function depareFillExpression(ct?: ColorTableName): unknown[];
|
|
2565
|
+
declare function depareColor(props: Record<string, unknown>, ct?: ColorTableName, safetyContourM?: number): string;
|
|
2566
|
+
declare function depareFillExpression(ct?: ColorTableName, safetyContourM?: number): unknown[];
|
|
2568
2567
|
declare function lightColor(props: Record<string, unknown>, ct?: ColorTableName): string;
|
|
2569
2568
|
declare function lightFillExpression(ct?: ColorTableName): unknown[];
|
|
2570
2569
|
declare function lateralColor(props: Record<string, unknown>, ct?: ColorTableName): string;
|
|
@@ -2578,6 +2577,81 @@ declare function daymarkColor(props: Record<string, unknown>, ct?: ColorTableNam
|
|
|
2578
2577
|
* Defines which layers get text labels and how to extract label text.
|
|
2579
2578
|
*/
|
|
2580
2579
|
|
|
2580
|
+
/**
|
|
2581
|
+
* Feature-class hierarchy for SEAARE labels. Returns a tier number 1-5 per
|
|
2582
|
+
* feature:
|
|
2583
|
+
*
|
|
2584
|
+
* Exported (with the other tier builders below) for the build-side parity
|
|
2585
|
+
* test: CHRTbaremetal replicates these taxonomies as data in
|
|
2586
|
+
* tools/chrt-baremetal/server/src/tilebuild/placeNameTiers.ts to stamp
|
|
2587
|
+
* `tier` onto PLACENAME index features, and
|
|
2588
|
+
* placename-tier-parity.test.ts evaluates the two against shared
|
|
2589
|
+
* fixtures. Change a branch here and that test names the drift.
|
|
2590
|
+
*
|
|
2591
|
+
* 1 — Ocean (OBJNAM contains "<X> Ocean" — CATSEA has no
|
|
2592
|
+
* ocean code; the attribute is 1/unset on oceans)
|
|
2593
|
+
* 2 — Sea / Gulf (OBJNAM "Gulf of …" / "… Sea")
|
|
2594
|
+
* 3 — Bay / Sound / (CATSEA in {5 bay, 12 narrows} OR OBJNAM
|
|
2595
|
+
* Strait / Narrows " Bay" / " Sound" / " Strait")
|
|
2596
|
+
* 4 — Anchorage detail (OBJNAM contains "Anchorage Area")
|
|
2597
|
+
* 5 — Relief + default (CATSEA relief codes — authoritative — or
|
|
2598
|
+
* relief-term names, or anything uncategorised;
|
|
2599
|
+
* suppressed below z9 by the size curve)
|
|
2600
|
+
*
|
|
2601
|
+
* Order matters: tier-4/5 demotions (anchorages, relief) run BEFORE the
|
|
2602
|
+
* promotion shims so "Bear Seamount" (contains " Sea") and "…Anchorage
|
|
2603
|
+
* Area" compound names can't bubble up into headline tiers.
|
|
2604
|
+
* `coalesce(CATSEA, catsea)` handles post-tippecanoe case variation
|
|
2605
|
+
* (matches `s52-conditional.ts` precedent).
|
|
2606
|
+
*/
|
|
2607
|
+
declare function buildSeaAreaTierExpression(): ExpressionSpecification;
|
|
2608
|
+
/**
|
|
2609
|
+
* Built-up area tier (BUAARE): major city / town / neighborhood.
|
|
2610
|
+
* 1 — Major city (CATBUA=1 urban, or OBJNAM length <= 8)
|
|
2611
|
+
* 2 — Town (CATBUA=5 village, or OBJNAM length <= 14)
|
|
2612
|
+
* 3 — Neighborhood (longer compound names)
|
|
2613
|
+
*
|
|
2614
|
+
* Tier 1/2 may fire via CATBUA when populated; OBJNAM length is the
|
|
2615
|
+
* fallback so unpopulated CATBUA still produces a usable hierarchy.
|
|
2616
|
+
*/
|
|
2617
|
+
declare function buildBuiltUpAreaTierExpression(): ExpressionSpecification;
|
|
2618
|
+
/**
|
|
2619
|
+
* Land region tier (LNDRGN): major region vs. local point.
|
|
2620
|
+
* 1 — Major region (OBJNAM length <= 12 AND no comma — "Long Island", "Cape Cod")
|
|
2621
|
+
* 2 — Local point (else — "Bird Island", "Cottage Park")
|
|
2622
|
+
*
|
|
2623
|
+
* No CATLND analog for region scope, so OBJNAM is the only signal.
|
|
2624
|
+
* The comma-absence test is a heuristic: NOAA compound names like
|
|
2625
|
+
* "Boston Harbor, MA Castle Island" carry a comma and belong at deeper
|
|
2626
|
+
* zoom regardless of length.
|
|
2627
|
+
*/
|
|
2628
|
+
declare function buildLandRegionTierExpression(): ExpressionSpecification;
|
|
2629
|
+
/**
|
|
2630
|
+
* Land area tier (LNDARE): major vs. local.
|
|
2631
|
+
* 1 — Major (OBJNAM length <= 12)
|
|
2632
|
+
* 2 — Local
|
|
2633
|
+
*
|
|
2634
|
+
* No category attribute. OBJNAM length is the only signal.
|
|
2635
|
+
*/
|
|
2636
|
+
declare function buildLandAreaTierExpression(): ExpressionSpecification;
|
|
2637
|
+
/**
|
|
2638
|
+
* Lake tier (LAKARE): lake vs. reservoir/pond.
|
|
2639
|
+
* 1 — Lake (CATLAK=1, or OBJNAM length <= 12)
|
|
2640
|
+
* 2 — Reservoir/pond (CATLAK in {2,3}, or longer name)
|
|
2641
|
+
*/
|
|
2642
|
+
declare function buildLakeTierExpression(): ExpressionSpecification;
|
|
2643
|
+
/**
|
|
2644
|
+
* River tier (RIVERS): major vs. local.
|
|
2645
|
+
* 1 — Major river (OBJNAM length <= 15 AND no comma)
|
|
2646
|
+
* 2 — Local creek (else)
|
|
2647
|
+
*/
|
|
2648
|
+
declare function buildRiverTierExpression(): ExpressionSpecification;
|
|
2649
|
+
/**
|
|
2650
|
+
* Airport tier (AIRARE): major airport vs. small airstrip.
|
|
2651
|
+
* 1 — Major (OBJNAM length <= 25 — e.g. "Logan International Airport")
|
|
2652
|
+
* 2 — Airstrip
|
|
2653
|
+
*/
|
|
2654
|
+
declare function buildAirportTierExpression(): ExpressionSpecification;
|
|
2581
2655
|
interface LabelLayerConfig {
|
|
2582
2656
|
/** Mapbox source layer type */
|
|
2583
2657
|
type: "symbol";
|
|
@@ -2754,6 +2828,22 @@ declare function isNavAidLayer(layerName: string): boolean;
|
|
|
2754
2828
|
* Computes a simple average-coordinate centroid for each polygon feature that has OBJNAM.
|
|
2755
2829
|
*/
|
|
2756
2830
|
declare function preprocessWaterBodies(fc: GeoJSON.FeatureCollection): GeoJSON.FeatureCollection;
|
|
2831
|
+
/** MVT layer the build-side place-name index emits. */
|
|
2832
|
+
declare const PLACENAME_SOURCE_LAYER = "PLACENAME";
|
|
2833
|
+
/** Orientation classes whose names render italic (water voice). */
|
|
2834
|
+
declare const PLACENAME_WATER_CLASSES: readonly string[];
|
|
2835
|
+
/** Orientation classes whose names render upright (land voice). */
|
|
2836
|
+
declare const PLACENAME_LAND_CLASSES: readonly string[];
|
|
2837
|
+
/**
|
|
2838
|
+
* The 2 PLACENAME symbol layers. Layout contract (design §2.2): collision
|
|
2839
|
+
* ON (`allow-overlap: false`, `ignore-placement: false`,
|
|
2840
|
+
* `optional: true`), padding 4, `text-variable-anchor`, and
|
|
2841
|
+
* `symbol-sort-key` straight from the build-side `rank` — MapLibre places
|
|
2842
|
+
* LOWER sort keys first, and rank is minted lower-is-more-important
|
|
2843
|
+
* (tier major, bbox area minor), so when space runs out the biggest names
|
|
2844
|
+
* survive. That ranking is the per-zoom density governor P4 asked for.
|
|
2845
|
+
*/
|
|
2846
|
+
declare function buildPlaceNameLayers(sourceId: string): maplibregl.LayerSpecification[];
|
|
2757
2847
|
|
|
2758
2848
|
/**
|
|
2759
2849
|
* Spatial grid-based feature decimation for performance at low zoom levels.
|
|
@@ -3262,6 +3352,25 @@ interface StyleGeneratorOptions extends BuildSourcesOptions {
|
|
|
3262
3352
|
* When false, all soundings render in a single shade. Default true.
|
|
3263
3353
|
*/
|
|
3264
3354
|
twoShadeSoundings?: boolean;
|
|
3355
|
+
/**
|
|
3356
|
+
* Label model for the 9 orientation place-name classes (SEAARE, LNDRGN,
|
|
3357
|
+
* LAKARE, RIVERS, CANALS, BUAARE, AIRARE, LNDARE, PRDARE).
|
|
3358
|
+
*
|
|
3359
|
+
* "legacy" (default) — the per-cell-band orientation fan
|
|
3360
|
+
* (fanOrientationLabelByCellBand): one label per feature per band,
|
|
3361
|
+
* deconflicted only by `_label_anchor` tags and watermark opacity.
|
|
3362
|
+
*
|
|
3363
|
+
* "placename" — 2 PLACENAME symbol layers over the build-side
|
|
3364
|
+
* place-name index (CHRTbaremetal placeNameIndex.ts): one collision-
|
|
3365
|
+
* managed label per named place with a per-feature zoom window; the
|
|
3366
|
+
* orientation fan for those classes is NOT emitted. Requires tiles
|
|
3367
|
+
* built with the PLACENAME side index — on older tiles the layers
|
|
3368
|
+
* simply draw nothing (soft-fail is index-side), which is why the
|
|
3369
|
+
* default stays "legacy" until L2c's rebuild + Maine-coast visual
|
|
3370
|
+
* verification flips it (docs/design/chart-label-deconfliction.md
|
|
3371
|
+
* §2.3). Feature-label classes are untouched either way.
|
|
3372
|
+
*/
|
|
3373
|
+
labels?: "legacy" | "placename";
|
|
3265
3374
|
/**
|
|
3266
3375
|
* Font weight for SOUNDG labels. Default "semibold" — crisper numerals
|
|
3267
3376
|
* at small sizes on screen.
|
|
@@ -4310,4 +4419,4 @@ declare class Chrt {
|
|
|
4310
4419
|
warmTiles(region?: string): Promise<void>;
|
|
4311
4420
|
}
|
|
4312
4421
|
|
|
4313
|
-
export { ALL_NAV_AID_LAYERS, ALL_WATER_BODY_LAYERS, AREA_QUERY_LAYERS, ATON_EXPRESSION_CLASSES, type AheadCoverageCell, type AheadFeatureProperties, type AheadOptions, type AheadResponse, type AlongRouteFeatureProperties, type AlongRouteOptions, type AlongRouteResponse, type AreaInspectResult, type AtlasStyle, type AttachOptions, BAND_DRAW_ORDER, BAND_PRIORITY_RANGES, type BBox, BRIDGE_QUERY_LAYERS, BUILD_MAXZOOM, BUILD_MINZOOM, type BandCode, type BandPriorityRange, type BridgeInspectResult, type BuildOfflineStyleOptions, type BuildSourcesOptions, CHART_BAND_CODES, CHART_CASCADE_CODES, CHART_SECTIONS, CHRTRASTER_REF_CROPS, CHRTRASTER_SVGS, CHRT_ATON_COLORS, CHRT_GLYPH_NAMES, CHRT_GLYPH_SVGS, CHRT_ICON_EXPRESSIONS, CHRT_ICON_PREFIX, CHRT_SDF_GLYPHS, CHRT_STYLE_MODES, type CandidateQueryOptions, type CandidatesEventContext, type CellDeletedEvent, type CellDetail, type CellEventData, type CellNewEvent, type CellUpdatedData, type CellUpdatedEvent, type CellsOptions, type CellsResponse, type ChartSection, Chrt, type ChrtConfig, ChrtError, type ChrtStyleMode, type ChrtStyleOptions, type ChrtStyleTheme, type ChrtSymbolSet, type ClickAnchor, ColorTableName, type CoverageOptions, type CoverageResponse, type CoverageRouteCell, type CoverageRouteOptions, type CoverageRouteResponse, type CoverageSource, type CustomStyleConfig, DEFAULT_CLICK_TOLERANCE, DEFAULT_CUSTOM_STYLE_CONFIG, DEFAULT_INSPECT_CLASS_RANK, DEFAULT_LABEL_SETTINGS, DEFAULT_NAV_AID_SETTINGS, DEFAULT_REGION, DEFAULT_SAFETY_CONTOUR_M, DEFAULT_SOUNDING_SETTINGS, DEFAULT_TILE_BASE_URL, DEFAULT_TILE_REGION, DEFAULT_WATER_BODY_SETTINGS, type DecodedAreaFeature, type DecodedBridge, type DecodedNavAid, type DecodedProperty, type DisplayCategory, type DisplayMode, type FeatureCollection, type FeaturesOptions, type FetchStyleOptions, FileSystemAdapter, type FlashPattern, type FlashPhase, type GenerateCustomStyleOptions, type GeneratedCustomStyle, type GeoJsonFeature, type GeoJsonGeometry, type GeomType, INSPECT_CLASS_RANK, INSPECT_RANK_DEVIATIONS, type InspectCandidate, type InspectCandidateSet, type InspectEnrichment, type InspectEventContext, type InspectNotice, type InspectOptions, type InspectResult, type InspectTargetClass, type InspectableFeature, InteractClient, type InteractEntitlement, InteractError, type InteractErrorCode, type InteractHandle, type InteractMapLike, type InteractMapMouseEvent, LABELED_LAYERS, LABEL_BEHAVIOR, LABEL_LAYER_GROUPS, LABEL_PRIORITY, LAND_REGION, type LabelBehavior, type LabelConfigOptions, type LabelLayerConfig, type LabelSettings, type LookupEntry, type MapLibreStyle, type MapboxStyle, type MapboxVectorSource, type MarineAlert, type MarineAlertsOptions, type MarineAlertsResponse, type MarineConditionsOptions, type MarineConditionsResponse, type MarineForecastOptions, type MarineForecastPeriod, type MarineForecastResponse, type MarineSeas, type MarineStation, type MarineSwellTrain, type MarineWind, type MarineZoneRef, NAUTICAL_SYMBOLS, NAV_AID_LAYER_GROUPS, NAV_AID_QUERY_LAYERS, NON_SOLAS_DISCLAIMER, NON_SOLAS_DISCLAIMER_SHORT, type NauticalCategory, type NauticalSymbol, type NavAidInspectResult, type NavAidSettings, type NearbyMarineStation, type OfflineBundleResponse, type OfflineDownloadOptions, type OfflineDownloadProgress, type OfflineDownloadResult, OfflineError, type OfflineErrorCode, type OfflineFetchStyleOptions, type OfflineHeartbeatOptions, type OfflineRegionSummary, type OfflineRemoveOptions, OfflineStyleError, type OfflineStylePlatform, type OfflineStyleResponse, type PmtilesVectorSource, type QueryFeatureProperties, type QueryOptions, type QueryResponse, RASTER_ATON_CLASSES, RASTER_GLYPH_NAMES, RASTER_ICON_PREFIX, RELIEF_REGION, type ResolvedStyle, type ResolvedTheme, type S101ArtworkProvenance, type S101Feature, S101_AREA_FILL_NAMES, S101_CHART_SECTIONS, S101_FEATURES, S101_ICON_PREFIX, S101_LINE_STYLE_NAMES, S101_NEW_SYMBOLS, S101_NO_OFFICIAL_COUNTERPART, S101_SOURCE_COMMIT, S101_SYMBOL_GROUPS, S101_SYMBOL_NAMES, S52_ATON_LOOKUPS, S52_ATON_LOOKUPS_PAPER, S52_DRAW_ORDER, S52_LOOKUP, S52_PATTERN_SPRITE_PREFIX, SOUNDING_LAYERS, SYMBOL_FAMILIES, SYMBOL_FAMILY_META, SYMBOL_GROUPS, SYMBOL_MAP, type ScaleBand, type SearchCoverageNotice, type SearchHit, type SearchOptions, type SearchResponse, type SectorArcFeature, type SectorArcFeatureCollection, type SectorInfo, type SoundingSettings, type SourceMode, type StyleGeneratorOptions, type StyleLayer, type StyleUrlOptions, type SymbolFamily, type SymbolFamilyMeta, type SymbolGroup, TileAuth, type TileGroup, type TileGroupsResponse, TileTokenError, type TileTokenErrorCode, type TileTokenResponse, type TransformRequest, type TransformedRequest, type VectorSourceSpec, type VesselProfile, WATER_BODY_LAYER_GROUPS, type WaterBodySettings, WeatherEndpoint, type WeatherReading, type WebhookEvent, type WebhookEventType, type WebhookPayload, applyChrtSymbolSet, applyColorTheme, applyCustomStyleSettings, applyRasterSymbolSet, applyS101SymbolSet, atonIconExpression, bandFilterExpression, buildFlashPattern, buildLabelLayer, buildLayersForClass, buildOfflineStyle, buildSectorArcGeoJSON, buildSectorArcsFC, buildSectorsFromFeatures, buildSources, candidateRank, chrtAtonTintExpression, chrtLightTintExpression, collectCandidates, collectClickCandidates, combineWithBandFilter, daymarkColor, decimateFeatures, decodeAreaFeatureProps, decodeBridgeProps, decodeCandidate, decodeNavAidProps, depareColor, depareFillExpression, deriveMarinerName, extractNavAidDesignation, featureIdentity, generateCustomStyle, generateSpriteManifest, generateSpriteSheet, generateStyle, generateStyleJSON, getAvailableLineSymbols, getAvailablePatterns, getAvailablePointSymbols, getCollisionSettings, getDrawPriority, getGridSizeForZoom, getIconExpression, getLabelBehavior, getLabelConfig, getLabelPriority, getLookupEntry, getMaxCellsForZoom, getOrderedClasses, getRasterSvg, getS52SvgString, getS52SymbolStats, getStyleStats, getSymbolSvgString, getThemedS101Svg, getThemedS52Svg, getTopmarkMeaning, hazardColor, hazardFillExpression, iconExpressionForFamily, isLabelLayerVisible, isNavAidLayer, isNavAidLayerVisible, isSoundingLayerVisible, isVisibleInMode, isWaterBodyLayerVisible, labelSortKey, lateralColor, lateralFillExpression, lightColor, lightFillExpression, lightsIconExpression, normalizeStyleMode, normalizeTheme, paginate, parseListCodes, parseSymbolFamily, parseWebhook, patternSpriteId, preprocessLights, preprocessNavAids, preprocessSoundings, preprocessWaterBodies, rasterAtonIconExpression, resolveCustomTheme, resolveRasterImage, resolveS101Color, resolveStyle, resolveTargetClass, s101ArtworkProvenance, sanitizeCustomStyleConfig, scaleSizeValue, scaminToMinZoom, styleModeBand, withinBboxFilter, worldMinusBboxPolygon };
|
|
4422
|
+
export { ALL_NAV_AID_LAYERS, ALL_WATER_BODY_LAYERS, AREA_QUERY_LAYERS, ATON_EXPRESSION_CLASSES, type AheadCoverageCell, type AheadFeatureProperties, type AheadOptions, type AheadResponse, type AlongRouteFeatureProperties, type AlongRouteOptions, type AlongRouteResponse, type AreaInspectResult, type AtlasStyle, type AttachOptions, BAND_DRAW_ORDER, BAND_PRIORITY_RANGES, type BBox, BRIDGE_QUERY_LAYERS, BUILD_MAXZOOM, BUILD_MINZOOM, type BandCode, type BandPriorityRange, type BridgeInspectResult, type BuildOfflineStyleOptions, type BuildSourcesOptions, CHART_BAND_CODES, CHART_CASCADE_CODES, CHART_SECTIONS, CHRTRASTER_REF_CROPS, CHRTRASTER_SVGS, CHRT_ATON_COLORS, CHRT_GLYPH_NAMES, CHRT_GLYPH_SVGS, CHRT_ICON_EXPRESSIONS, CHRT_ICON_PREFIX, CHRT_SDF_GLYPHS, CHRT_STYLE_MODES, type CandidateQueryOptions, type CandidatesEventContext, type CellDeletedEvent, type CellDetail, type CellEventData, type CellNewEvent, type CellUpdatedData, type CellUpdatedEvent, type CellsOptions, type CellsResponse, type ChartSection, Chrt, type ChrtConfig, ChrtError, type ChrtStyleMode, type ChrtStyleOptions, type ChrtStyleTheme, type ChrtSymbolSet, type ClickAnchor, ColorTableName, type CoverageOptions, type CoverageResponse, type CoverageRouteCell, type CoverageRouteOptions, type CoverageRouteResponse, type CoverageSource, type CustomStyleConfig, DEFAULT_CLICK_TOLERANCE, DEFAULT_CUSTOM_STYLE_CONFIG, DEFAULT_INSPECT_CLASS_RANK, DEFAULT_LABEL_SETTINGS, DEFAULT_NAV_AID_SETTINGS, DEFAULT_REGION, DEFAULT_SAFETY_CONTOUR_M, DEFAULT_SOUNDING_SETTINGS, DEFAULT_TILE_BASE_URL, DEFAULT_TILE_REGION, DEFAULT_WATER_BODY_SETTINGS, type DecodedAreaFeature, type DecodedBridge, type DecodedNavAid, type DecodedProperty, type DisplayCategory, type DisplayMode, type FeatureCollection, type FeaturesOptions, type FetchStyleOptions, FileSystemAdapter, type FlashPattern, type FlashPhase, type GenerateCustomStyleOptions, type GeneratedCustomStyle, type GeoJsonFeature, type GeoJsonGeometry, type GeomType, INSPECT_CLASS_RANK, INSPECT_RANK_DEVIATIONS, type InspectCandidate, type InspectCandidateSet, type InspectEnrichment, type InspectEventContext, type InspectNotice, type InspectOptions, type InspectResult, type InspectTargetClass, type InspectableFeature, InteractClient, type InteractEntitlement, InteractError, type InteractErrorCode, type InteractHandle, type InteractMapLike, type InteractMapMouseEvent, LABELED_LAYERS, LABEL_BEHAVIOR, LABEL_LAYER_GROUPS, LABEL_PRIORITY, LAND_REGION, type LabelBehavior, type LabelConfigOptions, type LabelLayerConfig, type LabelSettings, type LookupEntry, type MapLibreStyle, type MapboxStyle, type MapboxVectorSource, type MarineAlert, type MarineAlertsOptions, type MarineAlertsResponse, type MarineConditionsOptions, type MarineConditionsResponse, type MarineForecastOptions, type MarineForecastPeriod, type MarineForecastResponse, type MarineSeas, type MarineStation, type MarineSwellTrain, type MarineWind, type MarineZoneRef, NAUTICAL_SYMBOLS, NAV_AID_LAYER_GROUPS, NAV_AID_QUERY_LAYERS, NON_SOLAS_DISCLAIMER, NON_SOLAS_DISCLAIMER_SHORT, type NauticalCategory, type NauticalSymbol, type NavAidInspectResult, type NavAidSettings, type NearbyMarineStation, type OfflineBundleResponse, type OfflineDownloadOptions, type OfflineDownloadProgress, type OfflineDownloadResult, OfflineError, type OfflineErrorCode, type OfflineFetchStyleOptions, type OfflineHeartbeatOptions, type OfflineRegionSummary, type OfflineRemoveOptions, OfflineStyleError, type OfflineStylePlatform, type OfflineStyleResponse, PLACENAME_LAND_CLASSES, PLACENAME_SOURCE_LAYER, PLACENAME_WATER_CLASSES, type PmtilesVectorSource, type QueryFeatureProperties, type QueryOptions, type QueryResponse, RASTER_ATON_CLASSES, RASTER_GLYPH_NAMES, RASTER_ICON_PREFIX, RELIEF_REGION, type ResolvedStyle, type ResolvedTheme, type S101ArtworkProvenance, type S101Feature, S101_AREA_FILL_NAMES, S101_CHART_SECTIONS, S101_FEATURES, S101_ICON_PREFIX, S101_LINE_STYLE_NAMES, S101_NEW_SYMBOLS, S101_NO_OFFICIAL_COUNTERPART, S101_SOURCE_COMMIT, S101_SYMBOL_GROUPS, S101_SYMBOL_NAMES, S52_ATON_LOOKUPS, S52_ATON_LOOKUPS_PAPER, S52_DRAW_ORDER, S52_LOOKUP, S52_PATTERN_SPRITE_PREFIX, SOUNDING_LAYERS, SYMBOL_FAMILIES, SYMBOL_FAMILY_META, SYMBOL_GROUPS, SYMBOL_MAP, type ScaleBand, type SearchCoverageNotice, type SearchHit, type SearchOptions, type SearchResponse, type SectorArcFeature, type SectorArcFeatureCollection, type SectorInfo, type SoundingSettings, type SourceMode, type StyleGeneratorOptions, type StyleLayer, type StyleUrlOptions, type SymbolFamily, type SymbolFamilyMeta, type SymbolGroup, TileAuth, type TileGroup, type TileGroupsResponse, TileTokenError, type TileTokenErrorCode, type TileTokenResponse, type TransformRequest, type TransformedRequest, type VectorSourceSpec, type VesselProfile, WATER_BODY_LAYER_GROUPS, type WaterBodySettings, WeatherEndpoint, type WeatherReading, type WebhookEvent, type WebhookEventType, type WebhookPayload, applyChrtSymbolSet, applyColorTheme, applyCustomStyleSettings, applyRasterSymbolSet, applyS101SymbolSet, atonIconExpression, bandFilterExpression, buildAirportTierExpression, buildBuiltUpAreaTierExpression, buildFlashPattern, buildLabelLayer, buildLakeTierExpression, buildLandAreaTierExpression, buildLandRegionTierExpression, buildLayersForClass, buildOfflineStyle, buildPlaceNameLayers, buildRiverTierExpression, buildSeaAreaTierExpression, buildSectorArcGeoJSON, buildSectorArcsFC, buildSectorsFromFeatures, buildSources, candidateRank, chrtAtonTintExpression, chrtLightTintExpression, collectCandidates, collectClickCandidates, combineWithBandFilter, daymarkColor, decimateFeatures, decodeAreaFeatureProps, decodeBridgeProps, decodeCandidate, decodeNavAidProps, depareColor, depareFillExpression, deriveMarinerName, extractNavAidDesignation, featureIdentity, generateCustomStyle, generateSpriteManifest, generateSpriteSheet, generateStyle, generateStyleJSON, getAvailableLineSymbols, getAvailablePatterns, getAvailablePointSymbols, getCollisionSettings, getDrawPriority, getGridSizeForZoom, getIconExpression, getLabelBehavior, getLabelConfig, getLabelPriority, getLookupEntry, getMaxCellsForZoom, getOrderedClasses, getRasterSvg, getS52SvgString, getS52SymbolStats, getStyleStats, getSymbolSvgString, getThemedS101Svg, getThemedS52Svg, getTopmarkMeaning, hazardColor, hazardFillExpression, iconExpressionForFamily, isLabelLayerVisible, isNavAidLayer, isNavAidLayerVisible, isSoundingLayerVisible, isVisibleInMode, isWaterBodyLayerVisible, labelSortKey, lateralColor, lateralFillExpression, lightColor, lightFillExpression, lightsIconExpression, normalizeStyleMode, normalizeTheme, paginate, parseListCodes, parseSymbolFamily, parseWebhook, patternSpriteId, preprocessLights, preprocessNavAids, preprocessSoundings, preprocessWaterBodies, rasterAtonIconExpression, resolveCustomTheme, resolveRasterImage, resolveS101Color, resolveStyle, resolveTargetClass, s101ArtworkProvenance, sanitizeCustomStyleConfig, scaleSizeValue, scaminToMinZoom, styleModeBand, withinBboxFilter, worldMinusBboxPolygon };
|