@tileflow/core 0.1.0-alpha.29 → 0.1.0-alpha.30
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/README.md +8 -1
- package/dist/browser.d.ts +66 -5
- package/dist/browser.js +1102 -39
- package/dist/build.d.ts +7 -7
- package/dist/build.js +485 -163
- package/dist/config-reference.json +1399 -1153
- package/dist/{icon-composition-BquPlPPI.d.ts → icon-composition-BiOTwrvD.d.ts} +12 -3
- package/dist/index.d.ts +105 -11
- package/dist/index.js +770 -168
- package/dist/{manifest-types-BZU4zbmI.d.ts → manifest-types-CTT2eLbp.d.ts} +42 -1
- package/dist/manifest.d.ts +2 -2
- package/dist/native.js +1 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +28 -0
- package/docs/authoring-model.md +30 -3
- package/docs/data-is-separate-from-design.md +2 -1
- package/docs/shared-visual-primitives.md +61 -2
- package/docs/theme-transitions-and-blends.md +165 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b7 as TileflowThemeColorValue, o as TileflowSymbolStyle, A as TileflowAreaStyle, _ as TileflowLineStackStyle, n as TileflowLineStyle, l as TileflowExtrusionStyle, j as TileflowBackgroundStyle, m as TileflowFillStyle, a3 as TileflowMarkerSymbolStyle, k as TileflowCircleStyle, ba as TileflowThemeNumberValue, aX as TileflowTerrainHillshadeStyle, aW as TileflowTerrainEncoding, b8 as TileflowThemeFontValue, b9 as TileflowThemeImageValue, bU as TileflowTypographyStyle, S as TileflowLight, bV as ResolvedTileflowTypography, s as TileflowLabelsModuleConfig, v as TileflowPoiModuleConfig, q as TileflowRoadsModuleConfig, ad as TileflowProjection, aR as TileflowTerrain, be as TileflowViewConfig, M as MapLibreStyle, bi as ValidationResult } from './manifest-types-CTT2eLbp.js';
|
|
2
2
|
import * as zod from 'zod';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { T as TileflowCaptureScene } from './capture-scene-D6soWztE.js';
|
|
@@ -757,6 +757,15 @@ type TileflowLayerDomain = TileflowSemanticModuleName | 'terrain';
|
|
|
757
757
|
|
|
758
758
|
declare const tileflowLayerSlots: readonly ["background", "land", "terrain", "hydro", "building-areas", "transport-areas", "transport-tunnel-shadow", "transport-tunnel-casing", "transport-tunnel-fill", "transport-pedestrian-areas", "aeroways", "transport-surface-shadow", "transport-surface-casing", "transport-surface-fill", "transport-bridge-shadow", "transport-bridge-casing", "transport-bridge-fill", "transport-symbols", "boundaries", "buildings", "vegetation", "symbols"];
|
|
759
759
|
type TileflowLayerSlot = (typeof tileflowLayerSlots)[number];
|
|
760
|
+
/**
|
|
761
|
+
* Public paint bands: stable names for consecutive compiler slots. Render passes, target
|
|
762
|
+
* placements and overlays address band edges instead of physical slots.
|
|
763
|
+
*/
|
|
764
|
+
declare const tileflowLayerBands: readonly ["land", "relief", "water", "roads", "boundaries", "buildings", "vegetation", "labels"];
|
|
765
|
+
type TileflowLayerBand = (typeof tileflowLayerBands)[number];
|
|
766
|
+
/** A band edge: `below-roads` is the start of the roads band, `above-roads` its end. */
|
|
767
|
+
type TileflowBandPlacement = `${'above' | 'below'}-${TileflowLayerBand}`;
|
|
768
|
+
declare const tileflowBandPlacements: readonly TileflowBandPlacement[];
|
|
760
769
|
|
|
761
770
|
type TileflowSemanticModules = {
|
|
762
771
|
addresses?: TileflowAddressesModuleConfig;
|
|
@@ -1289,9 +1298,9 @@ declare const tileflowIconCompositionSchema: z.ZodObject<{
|
|
|
1289
1298
|
iconIds: z.ZodArray<z.ZodString>;
|
|
1290
1299
|
}, z.core.$strict>], "kind">>;
|
|
1291
1300
|
winners: z.ZodArray<z.ZodObject<{
|
|
1301
|
+
id: z.ZodString;
|
|
1292
1302
|
width: z.ZodNumber;
|
|
1293
1303
|
height: z.ZodNumber;
|
|
1294
|
-
id: z.ZodString;
|
|
1295
1304
|
layout: z.ZodOptional<z.ZodObject<{
|
|
1296
1305
|
stretchX: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
1297
1306
|
stretchY: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
@@ -1319,4 +1328,4 @@ declare function parseTileflowIconComposition(input: unknown): TileflowIconCompo
|
|
|
1319
1328
|
/** Dependency identity is separate from the generated artifact's content hash. */
|
|
1320
1329
|
declare function hashTileflowIconComposition(input: TileflowIconCompositionV1): Promise<string>;
|
|
1321
1330
|
|
|
1322
|
-
export { type
|
|
1331
|
+
export { type TileflowAuthoringModules as $, type OpenMapTilesLayerBindings as A, tileflowCompilationPhases as B, tileflowCompilationPlannerStages as C, tileflowCompilationReportSchemaVersion as D, type TileflowSemanticModuleName as E, tileflowHostedSourceLimit as F, tileflowOverlayPlacements as G, type TileflowIconSource as H, type OpenMapTilesSchema as I, type OpenMapTilesSchemaOptions as J, type ResolvedBathymetry as K, type ResolvedBathymetryRelief as L, type ResolvedMarine as M, type ResolvedMarineSource as N, type OpenMapTilesFieldBindings as O, type ParkLayerSemantics as P, type ResolvedTileflowData as Q, type ResolvedTileflowMap as R, type ResolvedTileflowTheme as S, type TileflowRenderedIconIdentity as T, type ResolvedTileflowThemeTokens as U, type TileflowAddressesModuleConfig as V, type TileflowAddressesModuleOptions as W, type TileflowAerowaysModuleConfig as X, type TileflowAerowaysModuleOptions as Y, type TileflowAtmosphere as Z, type TileflowAtmosphereOptions as _, type TileflowIconCompositionV1 as a, type TileflowRasterDemSourceRequirementV1 as a$, type TileflowBathymetryConfig as a0, type TileflowBathymetryDemSourceIdentity as a1, type TileflowBathymetryDisplay as a2, type TileflowBathymetryOptions as a3, type TileflowBathymetryReliefConfig as a4, type TileflowBoundariesModuleConfig as a5, type TileflowBoundariesModuleOptions as a6, type TileflowBuildingMode as a7, type TileflowBuildingsModuleConfig as a8, type TileflowBuildingsModuleOptions as a9, type TileflowLandModuleOptions as aA, type TileflowLandcoverClass as aB, type TileflowLandformClass as aC, type TileflowLandformsModuleConfig as aD, type TileflowLandformsModuleOptions as aE, type TileflowLanduseClass as aF, type TileflowLayerBand as aG, type TileflowLocalDirectory as aH, type TileflowMapDesign as aI, type TileflowMapIdentity as aJ, type TileflowMapLibreOverlay as aK, type TileflowMapLibreOverlayLayer as aL, type TileflowMapTooling as aM, type TileflowMarine as aN, type TileflowMarineConfig as aO, type TileflowMarineMode as aP, type TileflowMarineSourceConfig as aQ, type TileflowMarineSourceIdentity as aR, type TileflowModuleOperation as aS, type TileflowModulePatch as aT, type TileflowNauticalAreaLabelStyles as aU, type TileflowNauticalModuleConfig as aV, type TileflowNauticalModuleOptions as aW, type TileflowOverlayCollection as aX, type TileflowOverlayPlacement as aY, type TileflowPackageDirectory as aZ, type TileflowPreparedIconCapabilities as a_, type TileflowCompilationDiagnostic as aa, type TileflowCompilationDomainReport as ab, type TileflowCompilationFailure as ac, type TileflowCompilationOptions as ad, type TileflowCompilationPhase as ae, type TileflowCompilationPlannerDecision as af, type TileflowCompilationPlannerStage as ag, type TileflowCompilationReport as ah, type TileflowCompilationResult as ai, type TileflowCompilationSuccess as aj, type TileflowDataConfig as ak, type TileflowDataIdentity as al, type TileflowDerivedMap as am, type TileflowDisableOperation as an, type TileflowFontDirectory as ao, type TileflowGlyphs as ap, type TileflowHostedSourceCollection as aq, type TileflowHostedTilesetSource as ar, type TileflowHostedTilesetType as as, type TileflowIconContributorIdentity as at, type TileflowIconDirectory as au, TileflowIconSetError as av, type TileflowIconSetErrorCode as aw, type TileflowIconSetReference as ax, type TileflowIconSetSource as ay, type TileflowLandModuleConfig as az, type TileflowDataRequirementsV1 as b, parseTileflowIconComposition as b$, type TileflowRefineOperation as b0, type TileflowRemoveOperation as b1, type TileflowReset as b2, type TileflowResolvedThemeSelection as b3, type TileflowSemanticModules as b4, type TileflowStandaloneMap as b5, type TileflowTheme as b6, type TileflowThemeAuditContext as b7, type TileflowThemeAuditDiagnostic as b8, TileflowThemeAuditError as b9, assertTileflowMapThemeValues as bA, assertTileflowSdfPixels as bB, auditTileflowMapThemeValues as bC, auditTileflowThemeValues as bD, bathymetry as bE, boundaries as bF, buildings as bG, classifyTileflowVisualProperty as bH, collectTileflowIconSetReferences as bI, createStyle as bJ, createStyleResult as bK, defineTheme as bL, disable as bM, hashTileflowIconComposition as bN, hostedTileset as bO, iconSet as bP, isCanonicalOpenMapTilesSchema as bQ, isSafeLocalPmtilesPath as bR, isTileflowCompilationPhase as bS, isTileflowIconSetSource as bT, isTileflowLocalDirectory as bU, land as bV, landforms as bW, maplibreOverlay as bX, nautical as bY, openMapTiles as bZ, openMapTilesContractVersion as b_, type TileflowThemeAuditScope as ba, type TileflowThemeColorScheme as bb, type TileflowThemeDefinition as bc, type TileflowThemeLighting as bd, type TileflowThemeName as be, type TileflowThemeTokens as bf, type TileflowThemeTypography as bg, type TileflowThemeTypographyStyle as bh, type TileflowTransitModuleConfig as bi, type TileflowTransitModuleOptions as bj, type TileflowTransitRailStyle as bk, type TileflowVegetationMode as bl, type TileflowVegetationModuleConfig as bm, type TileflowVegetationModuleOptions as bn, type TileflowVegetationThreeDimensionalStyle as bo, type TileflowVisualValueCategory as bp, type TileflowWaterModuleConfig as bq, type TileflowWaterModuleOptions as br, type TileflowWaterwayClass as bs, type TileflowWorldData as bt, type TileflowWorldReleaseReference as bu, type TileflowWorldSelection as bv, type TileflowWorldV1Schema as bw, type VectorTilesData as bx, addresses as by, aeroways as bz, type TileflowSourceRequirementsV1 as c, parseTileflowMap as c0, refine as c1, remove as c2, reset as c3, resolveMarine as c4, resolveThemeSelection as c5, resolveThemeValues as c6, resolveTileflowData as c7, resolveTileflowTheme as c8, tileflowBandPlacements as c9, tileflowWorldGeneration as cA, tileflowWorldTileJsonUrl as cB, tileflowWorldV1Schema as cC, transit as cD, validateTileflowCompiledIconCapabilities as cE, validateTileflowMap as cF, validateTileflowWorldV1Tilejson as cG, vectorTiles as cH, vegetation as cI, water as cJ, tileflowBathymetryDemSourceId as ca, tileflowBathymetrySourceId as cb, tileflowBathymetryV1Schema as cc, tileflowIconAppearanceSchema as cd, tileflowIconAuthorMetadataSchema as ce, tileflowIconCompositionMaximumBytes as cf, tileflowIconCompositionSchema as cg, tileflowIconMetadataFileName as ch, tileflowIconSetIdSchema as ci, tileflowIconSetPackageIdSchema as cj, tileflowIconSetReferenceSchema as ck, tileflowIconSetSourceSchema as cl, tileflowIconSetTeamIdSchema as cm, tileflowIconSetVersionIdSchema as cn, tileflowIconSourceLimit as co, tileflowLandformClasses as cp, tileflowLayerBands as cq, tileflowLocalDirectoryMaximumLength as cr, tileflowLocalDirectoryMessage as cs, tileflowMapIdSchema as ct, tileflowNauticalSourceId as cu, tileflowNauticalV1Schema as cv, tileflowPrimarySourceId as cw, tileflowRenderedIconIdentitySchema as cx, tileflowThemeLimits as cy, tileflowWorld as cz, type TileflowMap as d, type TileflowStyleOptions as e, type TileflowInspectedStyle as f, type TileflowPreparedMapAssets as g, type TileflowDataCompatibilityIssue as h, type TileflowDataFieldRequirement as i, type TileflowDataFieldType as j, type TileflowDataLayerRequirement as k, type TileflowObservedDataContractV1 as l, type TileflowStyleInspection as m, type TileflowStyleInspectionContribution as n, type TileflowStyleInspectionLayer as o, type TileflowStyleInspectionRenderOperation as p, collectMapLineage as q, inferTileflowDataRequirements as r, inferTileflowSourceRequirements as s, tileflowStyleInspectionSchemaVersion as t, type TileflowMapScene as u, validateTileflowDataCompatibility as v, type ResolveMapOptions as w, type TileflowIconAppearance as x, type TileflowLayerDomain as y, type TileflowBandPlacement as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as TileflowMap, u as TileflowMapScene, w as ResolveMapOptions, R as ResolvedTileflowMap, x as TileflowIconAppearance, O as OpenMapTilesFieldBindings, y as TileflowLayerDomain, z as
|
|
2
|
-
export {
|
|
1
|
+
import { d as TileflowMap, u as TileflowMapScene, w as ResolveMapOptions, R as ResolvedTileflowMap, x as TileflowIconAppearance, O as OpenMapTilesFieldBindings, y as TileflowLayerDomain, z as TileflowBandPlacement, A as OpenMapTilesLayerBindings, B as tileflowCompilationPhases, C as tileflowCompilationPlannerStages, D as tileflowCompilationReportSchemaVersion, E as TileflowSemanticModuleName, F as tileflowHostedSourceLimit, G as tileflowOverlayPlacements, H as TileflowIconSource } from './icon-composition-BiOTwrvD.js';
|
|
2
|
+
export { I as OpenMapTilesSchema, J as OpenMapTilesSchemaOptions, P as ParkLayerSemantics, K as ResolvedBathymetry, L as ResolvedBathymetryRelief, M as ResolvedMarine, N as ResolvedMarineSource, Q as ResolvedTileflowData, S as ResolvedTileflowTheme, U as ResolvedTileflowThemeTokens, V as TileflowAddressesModuleConfig, W as TileflowAddressesModuleOptions, X as TileflowAerowaysModuleConfig, Y as TileflowAerowaysModuleOptions, Z as TileflowAtmosphere, _ as TileflowAtmosphereOptions, $ as TileflowAuthoringModules, a0 as TileflowBathymetryConfig, a1 as TileflowBathymetryDemSourceIdentity, a2 as TileflowBathymetryDisplay, a3 as TileflowBathymetryOptions, a4 as TileflowBathymetryReliefConfig, a5 as TileflowBoundariesModuleConfig, a6 as TileflowBoundariesModuleOptions, a7 as TileflowBuildingMode, a8 as TileflowBuildingsModuleConfig, a9 as TileflowBuildingsModuleOptions, aa as TileflowCompilationDiagnostic, ab as TileflowCompilationDomainReport, ac as TileflowCompilationFailure, ad as TileflowCompilationOptions, ae as TileflowCompilationPhase, af as TileflowCompilationPlannerDecision, ag as TileflowCompilationPlannerStage, ah as TileflowCompilationReport, ai as TileflowCompilationResult, aj as TileflowCompilationSuccess, h as TileflowDataCompatibilityIssue, ak as TileflowDataConfig, i as TileflowDataFieldRequirement, j as TileflowDataFieldType, al as TileflowDataIdentity, k as TileflowDataLayerRequirement, b as TileflowDataRequirementsV1, am as TileflowDerivedMap, an as TileflowDisableOperation, ao as TileflowFontDirectory, ap as TileflowGlyphs, aq as TileflowHostedSourceCollection, ar as TileflowHostedTilesetSource, as as TileflowHostedTilesetType, a as TileflowIconCompositionV1, at as TileflowIconContributorIdentity, au as TileflowIconDirectory, av as TileflowIconSetError, aw as TileflowIconSetErrorCode, ax as TileflowIconSetReference, ay as TileflowIconSetSource, az as TileflowLandModuleConfig, aA as TileflowLandModuleOptions, aB as TileflowLandcoverClass, aC as TileflowLandformClass, aD as TileflowLandformsModuleConfig, aE as TileflowLandformsModuleOptions, aF as TileflowLanduseClass, aG as TileflowLayerBand, aH as TileflowLocalDirectory, aI as TileflowMapDesign, aJ as TileflowMapIdentity, aK as TileflowMapLibreOverlay, aL as TileflowMapLibreOverlayLayer, aM as TileflowMapTooling, aN as TileflowMarine, aO as TileflowMarineConfig, aP as TileflowMarineMode, aQ as TileflowMarineSourceConfig, aR as TileflowMarineSourceIdentity, aS as TileflowModuleOperation, aT as TileflowModulePatch, aU as TileflowNauticalAreaLabelStyles, aV as TileflowNauticalModuleConfig, aW as TileflowNauticalModuleOptions, l as TileflowObservedDataContractV1, aX as TileflowOverlayCollection, aY as TileflowOverlayPlacement, aZ as TileflowPackageDirectory, a_ as TileflowPreparedIconCapabilities, a$ as TileflowRasterDemSourceRequirementV1, b0 as TileflowRefineOperation, b1 as TileflowRemoveOperation, T as TileflowRenderedIconIdentity, b2 as TileflowReset, b3 as TileflowResolvedThemeSelection, b4 as TileflowSemanticModules, c as TileflowSourceRequirementsV1, b5 as TileflowStandaloneMap, e as TileflowStyleOptions, b6 as TileflowTheme, b7 as TileflowThemeAuditContext, b8 as TileflowThemeAuditDiagnostic, b9 as TileflowThemeAuditError, ba as TileflowThemeAuditScope, bb as TileflowThemeColorScheme, bc as TileflowThemeDefinition, bd as TileflowThemeLighting, be as TileflowThemeName, bf as TileflowThemeTokens, bg as TileflowThemeTypography, bh as TileflowThemeTypographyStyle, bi as TileflowTransitModuleConfig, bj as TileflowTransitModuleOptions, bk as TileflowTransitRailStyle, bl as TileflowVegetationMode, bm as TileflowVegetationModuleConfig, bn as TileflowVegetationModuleOptions, bo as TileflowVegetationThreeDimensionalStyle, bp as TileflowVisualValueCategory, bq as TileflowWaterModuleConfig, br as TileflowWaterModuleOptions, bs as TileflowWaterwayClass, bt as TileflowWorldData, bu as TileflowWorldReleaseReference, bv as TileflowWorldSelection, bw as TileflowWorldV1Schema, bx as VectorTilesData, by as addresses, bz as aeroways, bA as assertTileflowMapThemeValues, bB as assertTileflowSdfPixels, bC as auditTileflowMapThemeValues, bD as auditTileflowThemeValues, bE as bathymetry, bF as boundaries, bG as buildings, bH as classifyTileflowVisualProperty, bI as collectTileflowIconSetReferences, bJ as createStyle, bK as createStyleResult, bL as defineTheme, bM as disable, bN as hashTileflowIconComposition, bO as hostedTileset, bP as iconSet, r as inferTileflowDataRequirements, s as inferTileflowSourceRequirements, bQ as isCanonicalOpenMapTilesSchema, bR as isSafeLocalPmtilesPath, bS as isTileflowCompilationPhase, bT as isTileflowIconSetSource, bU as isTileflowLocalDirectory, bV as land, bW as landforms, bX as maplibreOverlay, bY as nautical, bZ as openMapTiles, b_ as openMapTilesContractVersion, b$ as parseTileflowIconComposition, c0 as parseTileflowMap, c1 as refine, c2 as remove, c3 as reset, c4 as resolveMarine, c5 as resolveThemeSelection, c6 as resolveThemeValues, c7 as resolveTileflowData, c8 as resolveTileflowTheme, c9 as tileflowBandPlacements, ca as tileflowBathymetryDemSourceId, cb as tileflowBathymetrySourceId, cc as tileflowBathymetryV1Schema, cd as tileflowIconAppearanceSchema, ce as tileflowIconAuthorMetadataSchema, cf as tileflowIconCompositionMaximumBytes, cg as tileflowIconCompositionSchema, ch as tileflowIconMetadataFileName, ci as tileflowIconSetIdSchema, cj as tileflowIconSetPackageIdSchema, ck as tileflowIconSetReferenceSchema, cl as tileflowIconSetSourceSchema, cm as tileflowIconSetTeamIdSchema, cn as tileflowIconSetVersionIdSchema, co as tileflowIconSourceLimit, cp as tileflowLandformClasses, cq as tileflowLayerBands, cr as tileflowLocalDirectoryMaximumLength, cs as tileflowLocalDirectoryMessage, ct as tileflowMapIdSchema, cu as tileflowNauticalSourceId, cv as tileflowNauticalV1Schema, cw as tileflowPrimarySourceId, cx as tileflowRenderedIconIdentitySchema, cy as tileflowThemeLimits, cz as tileflowWorld, cA as tileflowWorldGeneration, cB as tileflowWorldTileJsonUrl, cC as tileflowWorldV1Schema, cD as transit, cE as validateTileflowCompiledIconCapabilities, v as validateTileflowDataCompatibility, cF as validateTileflowMap, cG as validateTileflowWorldV1Tilejson, cH as vectorTiles, cI as vegetation, cJ as water } from './icon-composition-BiOTwrvD.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { V as ValidationMessage, f as TileflowExpression, g as TileflowFixedValue, h as TileflowThemeTokenReference, i as TileflowThemeColorOperation, j as TileflowBackgroundStyle, k as TileflowCircleStyle, l as TileflowExtrusionStyle, m as TileflowFillStyle, n as TileflowLineStyle, o as TileflowSymbolStyle, M as MapLibreStyle, p as TileflowRoadsModuleOptions, q as TileflowRoadsModuleConfig, r as TileflowLabelsModuleOptions, s as TileflowLabelsModuleConfig, u as TileflowPoiModuleOptions, v as TileflowPoiModuleConfig } from './manifest-types-
|
|
5
|
-
export { w as MapLibreSprite, x as TileflowAerodromeCodeDetail, y as TileflowAlignment, z as TileflowAnalytics, A as TileflowAreaStyle, B as TileflowBackgroundPaint, C as TileflowCirclePaint, D as TileflowColor, E as TileflowColorStyleValue, F as TileflowExtrusionPaint, G as TileflowFillPaint, H as TileflowIconAnchor, I as TileflowIconLayout, J as TileflowIconPaint, K as TileflowIconStyle, L as TileflowIconTextFit, N as TileflowImageStyleValue, O as TileflowLabelDetail, P as TileflowLabelLanguage, Q as TileflowLabelStyles, R as TileflowLayerRange, S as TileflowLight, U as TileflowLineCap, W as TileflowLineHatchStyle, X as TileflowLineJoin, Y as TileflowLineLayout, Z as TileflowLinePaint, _ as TileflowLineStackStyle, $ as TileflowManifestFetchOptions, a0 as TileflowManifestLoadOptions, a1 as TileflowMapMode, a2 as TileflowMapModeOptions, a3 as TileflowMarkerSymbolStyle, a4 as TileflowMountainBikeScale, a5 as TileflowNumberInsetsStyleValue, a6 as TileflowNumberStyleValue, a7 as TileflowPlaceLabelClass, a8 as TileflowPoiCategory, a9 as TileflowPoiCategoryStyle, aa as TileflowPoiColorMode, ab as TileflowPoiDensity, ac as TileflowPriorityOrder, ad as TileflowProjection, ae as TileflowResolvedRuntimeTheme, af as TileflowRoadAreaStyle, ag as TileflowRoadClass, ah as TileflowRoadClassStyle, ai as TileflowRoadCrossingStyle, aj as TileflowRoadDetail, ak as TileflowRoadExtras, al as TileflowRoadHierarchy, am as TileflowRoadLabelDetail, an as TileflowRoadLayerStyle, ao as TileflowRoadModifier, ap as TileflowRoadOutline, aq as TileflowRoadRestriction, ar as TileflowRoadRoundaboutStyle, as as TileflowRoadServiceType, at as TileflowRoadShieldDetail, au as TileflowRoadShieldStyles, av as TileflowRoadSidewalkStyle, aw as TileflowRoadStructure, ax as TileflowRoadTreatmentLayerStyle, ay as TileflowRoadTreatmentLineStyle, az as TileflowRoadTreatmentStyle, aA as TileflowRoadWeight, aB as TileflowRuntimeCenterLike, a as TileflowRuntimeColorScheme, T as TileflowRuntimeManifest, aC as TileflowRuntimeManifestMap, b as TileflowRuntimeManifestMapEntry, c as TileflowRuntimeManifestTheme, aD as TileflowRuntimeSource, aE as TileflowRuntimeSourceValidation, aF as TileflowRuntimeStyle, aG as TileflowRuntimeStyleOptions, d as TileflowRuntimeSystemThemes, aH as TileflowRuntimeViewOptions, aI as TileflowSessionController, aJ as TileflowSessionGrantResponse, aK as TileflowStringStyleValue, aL as TileflowStructuralStyleValue, aM as TileflowStyleFontFace, aN as TileflowStyleValue, aO as TileflowSymbolPlacement, aP as TileflowSymbolPlacementStyle, aQ as TileflowSymbolZOrder, aR as TileflowTerrain, aS as TileflowTerrainConfig, aT as TileflowTerrainContourLabelStyle, aU as TileflowTerrainContourLineStyle, aV as TileflowTerrainContoursConfig, aW as TileflowTerrainEncoding, aX as TileflowTerrainHillshadeStyle, aY as TileflowTerrainLayerRange, aZ as TileflowTerrainMode, a_ as TileflowTextAnchor, a$ as
|
|
4
|
+
import { V as ValidationMessage, f as TileflowExpression, g as TileflowFixedValue, h as TileflowThemeTokenReference, i as TileflowThemeColorOperation, j as TileflowBackgroundStyle, k as TileflowCircleStyle, l as TileflowExtrusionStyle, m as TileflowFillStyle, n as TileflowLineStyle, o as TileflowSymbolStyle, M as MapLibreStyle, p as TileflowRoadsModuleOptions, q as TileflowRoadsModuleConfig, r as TileflowLabelsModuleOptions, s as TileflowLabelsModuleConfig, u as TileflowPoiModuleOptions, v as TileflowPoiModuleConfig } from './manifest-types-CTT2eLbp.js';
|
|
5
|
+
export { w as MapLibreSprite, x as TileflowAerodromeCodeDetail, y as TileflowAlignment, z as TileflowAnalytics, A as TileflowAreaStyle, B as TileflowBackgroundPaint, C as TileflowCirclePaint, D as TileflowColor, E as TileflowColorStyleValue, F as TileflowExtrusionPaint, G as TileflowFillPaint, H as TileflowIconAnchor, I as TileflowIconLayout, J as TileflowIconPaint, K as TileflowIconStyle, L as TileflowIconTextFit, N as TileflowImageStyleValue, O as TileflowLabelDetail, P as TileflowLabelLanguage, Q as TileflowLabelStyles, R as TileflowLayerRange, S as TileflowLight, U as TileflowLineCap, W as TileflowLineHatchStyle, X as TileflowLineJoin, Y as TileflowLineLayout, Z as TileflowLinePaint, _ as TileflowLineStackStyle, $ as TileflowManifestFetchOptions, a0 as TileflowManifestLoadOptions, a1 as TileflowMapMode, a2 as TileflowMapModeOptions, a3 as TileflowMarkerSymbolStyle, a4 as TileflowMountainBikeScale, a5 as TileflowNumberInsetsStyleValue, a6 as TileflowNumberStyleValue, a7 as TileflowPlaceLabelClass, a8 as TileflowPoiCategory, a9 as TileflowPoiCategoryStyle, aa as TileflowPoiColorMode, ab as TileflowPoiDensity, ac as TileflowPriorityOrder, ad as TileflowProjection, ae as TileflowResolvedRuntimeTheme, af as TileflowRoadAreaStyle, ag as TileflowRoadClass, ah as TileflowRoadClassStyle, ai as TileflowRoadCrossingStyle, aj as TileflowRoadDetail, ak as TileflowRoadExtras, al as TileflowRoadHierarchy, am as TileflowRoadLabelDetail, an as TileflowRoadLayerStyle, ao as TileflowRoadModifier, ap as TileflowRoadOutline, aq as TileflowRoadRestriction, ar as TileflowRoadRoundaboutStyle, as as TileflowRoadServiceType, at as TileflowRoadShieldDetail, au as TileflowRoadShieldStyles, av as TileflowRoadSidewalkStyle, aw as TileflowRoadStructure, ax as TileflowRoadTreatmentLayerStyle, ay as TileflowRoadTreatmentLineStyle, az as TileflowRoadTreatmentStyle, aA as TileflowRoadWeight, aB as TileflowRuntimeCenterLike, a as TileflowRuntimeColorScheme, T as TileflowRuntimeManifest, aC as TileflowRuntimeManifestMap, b as TileflowRuntimeManifestMapEntry, c as TileflowRuntimeManifestTheme, aD as TileflowRuntimeSource, aE as TileflowRuntimeSourceValidation, aF as TileflowRuntimeStyle, aG as TileflowRuntimeStyleOptions, d as TileflowRuntimeSystemThemes, aH as TileflowRuntimeViewOptions, aI as TileflowSessionController, aJ as TileflowSessionGrantResponse, aK as TileflowStringStyleValue, aL as TileflowStructuralStyleValue, aM as TileflowStyleFontFace, aN as TileflowStyleValue, aO as TileflowSymbolPlacement, aP as TileflowSymbolPlacementStyle, aQ as TileflowSymbolZOrder, aR as TileflowTerrain, aS as TileflowTerrainConfig, aT as TileflowTerrainContourLabelStyle, aU as TileflowTerrainContourLineStyle, aV as TileflowTerrainContoursConfig, aW as TileflowTerrainEncoding, aX as TileflowTerrainHillshadeStyle, aY as TileflowTerrainLayerRange, aZ as TileflowTerrainMode, a_ as TileflowTextAnchor, a$ as TileflowTextBackground, b0 as TileflowTextJustify, b1 as TileflowTextLayout, b2 as TileflowTextPaint, b3 as TileflowTextStyle, b4 as TileflowThemeBlendSelection, b5 as TileflowThemeColorAlpha, b6 as TileflowThemeColorMix, b7 as TileflowThemeColorValue, b8 as TileflowThemeFontValue, b9 as TileflowThemeImageValue, ba as TileflowThemeNumberValue, bb as TileflowThemeSelection, bc as TileflowThemeTokenCategory, bd as TileflowThemeValue, be as TileflowViewConfig, bf as TileflowWaterLabelClass, bg as TileflowZoomInterpolation, bh as TileflowZoomValue, bi as ValidationResult, bj as assertValidTileflowRuntimeSource, bk as clearTileflowManifestCache, bl as color, bm as createTileflowSessionController, bn as createTileflowSessionId, bo as defaultTileflowManifestUrl, bp as defaultTileflowRuntimeView, bq as fixed, br as getTileflowAnalyticsApiUrl, bs as getTileflowStyleFontFaces, bt as inferTileflowAnalyticsFromStyleUrl, bu as loadTileflowManifest, bv as mergeTileflowAnalytics, bw as nearestTileflowBlendTheme, bx as normalizeTileflowRuntimeCenter, by as normalizeTileflowStaticImageSize, bz as normalizeTileflowUrl, bA as resolveTileflowAnalyticsRequestUrl, bB as resolveTileflowManifestMap, bC as resolveTileflowMapMode, bD as resolveTileflowRuntimeStyle, bE as resolveTileflowRuntimeTheme, bF as resolveTileflowRuntimeThemeBlend, bG as resolveTileflowRuntimeView, bH as resolveTileflowStaticImageUrl, bI as shouldLoadTileflowManifest, bJ as startTileflowSession, bK as tileflowPoiCategories, t as tileflowRuntimeManifestLimits, e as tileflowRuntimeManifestVersion, bL as tileflowStyleFontFaceLimits, bM as tileflowStyleFontFacesMetadataKey, bN as tileflowThemeBlendLimits, bO as tileflowThemeTokenCategories, bP as token, bQ as validateTileflowRuntimeSource, bR as validateTileflowThemeBlendSelection, bS as validateTileflowThemeSelection, bT as zoom } from './manifest-types-CTT2eLbp.js';
|
|
6
6
|
export { N as NormalizedTileflowCaptureScene, a as TileflowCaptureApplicationTarget, b as TileflowCaptureBoundsCamera, c as TileflowCaptureCamera, d as TileflowCaptureCenterCamera, e as TileflowCaptureMapTarget, T as TileflowCaptureScene, f as TileflowCaptureTarget, g as TileflowCaptureViewport, n as normalizeTileflowCaptureId, h as normalizeTileflowCaptureScene, t as tileflowCaptureApplicationTargetSchema, i as tileflowCaptureBoundsCameraSchema, j as tileflowCaptureCameraSchema, k as tileflowCaptureCenterCameraSchema, l as tileflowCaptureIdSchema, m as tileflowCaptureMapTargetSchema, o as tileflowCaptureSceneLimits, p as tileflowCaptureSceneNameSchema, q as tileflowCaptureSceneSchema, r as tileflowCaptureSceneSchemaVersion, s as tileflowCaptureTargetSchema, u as tileflowCaptureViewportSchema } from './capture-scene-D6soWztE.js';
|
|
7
7
|
export { tileflowPortableIdSchema, tileflowThemeNameSchema } from './capture.js';
|
|
8
8
|
export { parseTileflowRuntimeManifest, safeParseTileflowRuntimeManifest, tileflowRuntimeManifestSchema } from './manifest.js';
|
|
@@ -163,6 +163,7 @@ declare const tileflowDataExpressionLimits: Readonly<{
|
|
|
163
163
|
declare function get<TName extends TileflowDataFieldReference['name']>(reference: TileflowDataFieldReference<TName>): TileflowExpression<TileflowDataFieldValue<TName>>;
|
|
164
164
|
declare function literal<T>(value: T): TileflowExpression<TileflowDataExpressionResult<T>>;
|
|
165
165
|
declare function zoom(): TileflowExpression<number>;
|
|
166
|
+
declare function id(): TileflowExpression<string | number | null>;
|
|
166
167
|
declare function coalesce<T>(first: TileflowDataExpressionInput<T>, ...rest: readonly TileflowDataExpressionInput<T>[]): TileflowExpression<TileflowDataExpressionResult<T>>;
|
|
167
168
|
declare function toNumber(value: TileflowDataExpressionInput<unknown>, fallback?: TileflowDataExpressionInput<number>): TileflowExpression<number>;
|
|
168
169
|
declare function toBoolean(value: TileflowDataExpressionInput<unknown>, fallback?: TileflowDataExpressionInput<boolean>): TileflowExpression<boolean>;
|
|
@@ -174,6 +175,7 @@ declare function abs(value: TileflowDataExpressionInput<number>): TileflowExpres
|
|
|
174
175
|
declare function add(first: TileflowDataExpressionInput<number>, second: TileflowDataExpressionInput<number>, ...rest: readonly TileflowDataExpressionInput<number>[]): TileflowExpression<number>;
|
|
175
176
|
declare function subtract(first: TileflowDataExpressionInput<number>, second: TileflowDataExpressionInput<number>): TileflowExpression<number>;
|
|
176
177
|
declare function divide(dividend: TileflowDataExpressionInput<number>, divisor: TileflowDataExpressionInput<number>): TileflowExpression<number>;
|
|
178
|
+
declare function modulo(dividend: TileflowDataExpressionInput<number>, divisor: TileflowDataExpressionInput<number>): TileflowExpression<number>;
|
|
177
179
|
declare function multiply(first: TileflowDataExpressionInput<number>, second: TileflowDataExpressionInput<number>, ...rest: readonly TileflowDataExpressionInput<number>[]): TileflowExpression<number>;
|
|
178
180
|
declare function minimum(first: TileflowDataExpressionInput<number>, second: TileflowDataExpressionInput<number>, ...rest: readonly TileflowDataExpressionInput<number>[]): TileflowExpression<number>;
|
|
179
181
|
declare function maximum(first: TileflowDataExpressionInput<number>, second: TileflowDataExpressionInput<number>, ...rest: readonly TileflowDataExpressionInput<number>[]): TileflowExpression<number>;
|
|
@@ -207,6 +209,7 @@ declare const expr: Readonly<{
|
|
|
207
209
|
gt: <T>(left: TileflowDataExpressionInput<T>, right: TileflowDataExpressionInput<T>) => TileflowExpression<boolean>;
|
|
208
210
|
gte: <T>(left: TileflowDataExpressionInput<T>, right: TileflowDataExpressionInput<T>) => TileflowExpression<boolean>;
|
|
209
211
|
has: typeof has;
|
|
212
|
+
id: typeof id;
|
|
210
213
|
featureState: typeof featureState;
|
|
211
214
|
interpolate: typeof interpolate;
|
|
212
215
|
let: typeof letValue;
|
|
@@ -216,6 +219,7 @@ declare const expr: Readonly<{
|
|
|
216
219
|
match: typeof match;
|
|
217
220
|
max: typeof maximum;
|
|
218
221
|
min: typeof minimum;
|
|
222
|
+
modulo: typeof modulo;
|
|
219
223
|
multiply: typeof multiply;
|
|
220
224
|
ne: <T>(left: TileflowDataExpressionInput<T>, right: TileflowDataExpressionInput<T>) => TileflowExpression<boolean>;
|
|
221
225
|
not: typeof not;
|
|
@@ -228,7 +232,6 @@ declare const expr: Readonly<{
|
|
|
228
232
|
zoom: typeof zoom;
|
|
229
233
|
}>;
|
|
230
234
|
|
|
231
|
-
declare const tileflowRenderStackPhases: readonly ["underlay", "overlay", "postRelief", "annotation", "finish"];
|
|
232
235
|
declare const tileflowRenderStackRenderers: readonly ["background", "circle", "extrusion", "fill", "line", "symbol"];
|
|
233
236
|
declare const tileflowRenderSelectorKinds: readonly ["all", "any", "compare", "geometry", "has", "in", "literal", "match", "not", "step"];
|
|
234
237
|
declare const tileflowRenderSelectorComparisons: readonly ["eq", "gt", "gte", "lt", "lte", "ne"];
|
|
@@ -243,7 +246,18 @@ declare const tileflowRenderStackLimits: Readonly<{
|
|
|
243
246
|
readonly maxSelectorNodes: 256;
|
|
244
247
|
readonly maxStepStops: 16;
|
|
245
248
|
}>;
|
|
246
|
-
|
|
249
|
+
/**
|
|
250
|
+
* Where a render pass draws, or where a refinement moves its target: at a band edge, or
|
|
251
|
+
* immediately above or below one semantic target. Operations sharing a placement paint in
|
|
252
|
+
* declaration order, the first lowest.
|
|
253
|
+
*/
|
|
254
|
+
type TileflowRenderPlacement = TileflowBandPlacement | {
|
|
255
|
+
readonly above: string;
|
|
256
|
+
readonly below?: never;
|
|
257
|
+
} | {
|
|
258
|
+
readonly above?: never;
|
|
259
|
+
readonly below: string;
|
|
260
|
+
};
|
|
247
261
|
type TileflowRenderFeature = keyof OpenMapTilesLayerBindings;
|
|
248
262
|
type TileflowRenderField = keyof OpenMapTilesFieldBindings;
|
|
249
263
|
type TileflowRenderScalar = boolean | number | string;
|
|
@@ -299,8 +313,11 @@ type TileflowRenderStyle<TStyle> = TStyle & {
|
|
|
299
313
|
readonly visibilityGroup?: TileflowRenderVisibilityGroup;
|
|
300
314
|
};
|
|
301
315
|
type TileflowRenderPassCommon = {
|
|
302
|
-
|
|
303
|
-
|
|
316
|
+
/**
|
|
317
|
+
* A band edge, or above/below one semantic target. Passes placed beside a target take its
|
|
318
|
+
* band and, without their own `feature`, its vector data.
|
|
319
|
+
*/
|
|
320
|
+
readonly placement: TileflowRenderPlacement;
|
|
304
321
|
/** Additional rendered domains required by this pass. Data `feature` bindings are independent. */
|
|
305
322
|
readonly requirements?: readonly TileflowLayerDomain[];
|
|
306
323
|
};
|
|
@@ -320,6 +337,8 @@ type TileflowRenderPass = TileflowRenderPassInput & {
|
|
|
320
337
|
readonly kind: 'render-pass';
|
|
321
338
|
};
|
|
322
339
|
type TileflowRefinementCommon<TRenderer extends string, TStyle> = {
|
|
340
|
+
/** Moves the target, with every pass placed beside it, to another position. */
|
|
341
|
+
readonly placement?: TileflowRenderPlacement;
|
|
323
342
|
/** Rendered domains required for this refinement's semantic target to exist. */
|
|
324
343
|
readonly requirements?: readonly TileflowLayerDomain[];
|
|
325
344
|
readonly renderer: TRenderer;
|
|
@@ -327,9 +346,18 @@ type TileflowRefinementCommon<TRenderer extends string, TStyle> = {
|
|
|
327
346
|
readonly style: TileflowRenderStyle<TStyle>;
|
|
328
347
|
readonly target: string;
|
|
329
348
|
};
|
|
349
|
+
/** A refinement that only moves its target, keeping its style and selection. */
|
|
350
|
+
type TileflowPlacementRefinement = {
|
|
351
|
+
readonly placement: TileflowRenderPlacement;
|
|
352
|
+
readonly renderer?: never;
|
|
353
|
+
readonly requirements?: readonly TileflowLayerDomain[];
|
|
354
|
+
readonly selector?: never;
|
|
355
|
+
readonly style?: never;
|
|
356
|
+
readonly target: string;
|
|
357
|
+
};
|
|
330
358
|
type TileflowRenderTargetRefinementInput = (Omit<TileflowRefinementCommon<'background', TileflowBackgroundStyle>, 'selector'> & {
|
|
331
359
|
readonly selector?: never;
|
|
332
|
-
}) | TileflowRefinementCommon<'circle', TileflowCircleStyle> | TileflowRefinementCommon<'extrusion', TileflowExtrusionStyle> | TileflowRefinementCommon<'fill', TileflowFillStyle> | TileflowRefinementCommon<'line', TileflowLineStyle> | TileflowRefinementCommon<'symbol', TileflowSymbolStyle
|
|
360
|
+
}) | TileflowRefinementCommon<'circle', TileflowCircleStyle> | TileflowRefinementCommon<'extrusion', TileflowExtrusionStyle> | TileflowRefinementCommon<'fill', TileflowFillStyle> | TileflowRefinementCommon<'line', TileflowLineStyle> | TileflowRefinementCommon<'symbol', TileflowSymbolStyle> | TileflowPlacementRefinement;
|
|
333
361
|
type TileflowRenderTargetRefinement = TileflowRenderTargetRefinementInput & {
|
|
334
362
|
readonly kind: 'refine-render-target';
|
|
335
363
|
};
|
|
@@ -478,7 +506,10 @@ type TileflowAuthoringManifest = Readonly<{
|
|
|
478
506
|
geometries: readonly string[];
|
|
479
507
|
limits: typeof tileflowRenderStackLimits;
|
|
480
508
|
operationNamePattern: string;
|
|
481
|
-
|
|
509
|
+
placements: Readonly<{
|
|
510
|
+
bands: readonly string[];
|
|
511
|
+
targets: readonly string[];
|
|
512
|
+
}>;
|
|
482
513
|
renderers: readonly string[];
|
|
483
514
|
selectorKinds: readonly string[];
|
|
484
515
|
targetPattern: string;
|
|
@@ -656,6 +687,69 @@ declare const tileflowPoiImageRoles: Readonly<{
|
|
|
656
687
|
}>;
|
|
657
688
|
declare function poi(options?: TileflowPoiModuleOptions): TileflowPoiModuleConfig;
|
|
658
689
|
|
|
690
|
+
/**
|
|
691
|
+
* Line-fitted text backgrounds through derived glyph stacks.
|
|
692
|
+
*
|
|
693
|
+
* MapLibre paints an SDF text halo wherever a glyph's distance value lies between the halo edge,
|
|
694
|
+
* `(6 - haloWidth / fontScale) / 8`, and the fill edge at 0.75. A derived glyph keeps its source
|
|
695
|
+
* advance and distance field, and also carries a rectangular cell encoded at distance 0.5. With
|
|
696
|
+
* `text-halo-width` equal to `text-size / 6`, the halo edge sits at 0.25, so the halo pass paints
|
|
697
|
+
* exactly those cells: every shaped line receives one strip fitted to its own width. Shaping, line
|
|
698
|
+
* breaking, collision, anchors and fading remain the renderer's, and no renderer change is needed.
|
|
699
|
+
*
|
|
700
|
+
* Cells overlap their neighbours, which keeps strips seamless but requires an opaque colour.
|
|
701
|
+
*
|
|
702
|
+
* Glyph units are MapLibre's 24px em. x is relative to a glyph's pen position and y to the line
|
|
703
|
+
* origin before MapLibre's -17 shaping offset; bitmap row 0, including the 3px border, sits at
|
|
704
|
+
* y = -20 - top.
|
|
705
|
+
*/
|
|
706
|
+
/** Metrics a derived stack bakes into its glyphs. Every value is in ems. */
|
|
707
|
+
type TileflowLineBackgroundMetrics = {
|
|
708
|
+
/** Must equal the layer's constant `text-letter-spacing`. */
|
|
709
|
+
letterSpacing: number;
|
|
710
|
+
/** Must equal the layer's constant `text-line-height`; rows are exactly this tall. */
|
|
711
|
+
lineHeight: number;
|
|
712
|
+
/** Strip extension beyond the first and last glyph of each line. */
|
|
713
|
+
padding: number;
|
|
714
|
+
};
|
|
715
|
+
type TileflowLineBackgroundFontStack = {
|
|
716
|
+
metrics: TileflowLineBackgroundMetrics;
|
|
717
|
+
source: string;
|
|
718
|
+
};
|
|
719
|
+
declare const tileflowLineBackgroundDefaults: Readonly<TileflowLineBackgroundMetrics>;
|
|
720
|
+
declare const tileflowLineBackgroundLimits: Readonly<{
|
|
721
|
+
letterSpacing: Readonly<{
|
|
722
|
+
max: 0.5;
|
|
723
|
+
min: 0;
|
|
724
|
+
}>;
|
|
725
|
+
lineHeight: Readonly<{
|
|
726
|
+
max: 3;
|
|
727
|
+
min: 0.8;
|
|
728
|
+
}>;
|
|
729
|
+
padding: Readonly<{
|
|
730
|
+
max: 1;
|
|
731
|
+
min: 0;
|
|
732
|
+
}>;
|
|
733
|
+
}>;
|
|
734
|
+
/** `text-halo-width` per unit of `text-size` that places the halo edge on the derived cells. */
|
|
735
|
+
declare const tileflowLineBackgroundHaloRatio: number;
|
|
736
|
+
/** Rounds metrics to the thousandths a stack name encodes and checks their ranges. */
|
|
737
|
+
declare function normalizeTileflowLineBackgroundMetrics(metrics?: Partial<TileflowLineBackgroundMetrics>): TileflowLineBackgroundMetrics;
|
|
738
|
+
/** Names the derived stack for one source stack: `<source> lines-v1-t<ls>-l<lh>-p<pad>`. */
|
|
739
|
+
declare function createTileflowLineBackgroundFontStack(source: string, metrics?: Partial<TileflowLineBackgroundMetrics>): string;
|
|
740
|
+
/** Recognizes a derived stack name; returns undefined for ordinary or out-of-range names. */
|
|
741
|
+
declare function parseTileflowLineBackgroundFontStack(stack: string): TileflowLineBackgroundFontStack | undefined;
|
|
742
|
+
/**
|
|
743
|
+
* Scales a lowered MapLibre `text-size` value to the matching `text-halo-width`. Zoom curves keep
|
|
744
|
+
* their stops, because `zoom` may only be the input of a top-level `interpolate` or `step`.
|
|
745
|
+
*/
|
|
746
|
+
declare function scaleTileflowTextSizeForLineBackground(size: unknown): unknown;
|
|
747
|
+
/**
|
|
748
|
+
* Derives one MapLibre glyph PBF range. Every glyph keeps its id, advance and distance field and
|
|
749
|
+
* gains the background cell; the range and stack names are preserved.
|
|
750
|
+
*/
|
|
751
|
+
declare function deriveTileflowLineBackgroundGlyphs(range: Uint8Array, metrics?: Partial<TileflowLineBackgroundMetrics>): Uint8Array;
|
|
752
|
+
|
|
659
753
|
declare const tileflowIconPackageFileNames: readonly ["sprite.json", "sprite.png", "sprite@2x.json", "sprite@2x.png"];
|
|
660
754
|
type TileflowIconPackageFileName = (typeof tileflowIconPackageFileNames)[number];
|
|
661
755
|
/** Canonical sprite ID shared by authoring, generated manifests, diffs, and runtime indexes. */
|
|
@@ -1025,4 +1119,4 @@ declare function assertTileflowIconLayoutBounds(layout: TileflowIconLayoutMetada
|
|
|
1025
1119
|
declare function readTileflowIconLayout(entry: Partial<TileflowIconLayoutMetadata>): TileflowIconLayoutMetadata | undefined;
|
|
1026
1120
|
declare function scaleTileflowIconLayout(layout: TileflowIconLayoutMetadata, scale: number): TileflowIconLayoutMetadata;
|
|
1027
1121
|
|
|
1028
|
-
export { MapLibreStyle, OpenMapTilesFieldBindings, OpenMapTilesLayerBindings, ResolveMapOptions, ResolvedTileflowMap, type TileflowAuthoringCommand, type TileflowAuthoringCommandName, type TileflowAuthoringCommandOutputKind, type TileflowAuthoringExpressionBuilder, type TileflowAuthoringManifest, type TileflowAuthoringManifestDomain, type TileflowAuthoringOperation, TileflowBackgroundStyle, TileflowCircleStyle, type TileflowDataCaseBranch, type TileflowDataExpressionInput, type TileflowDataExpressionResult, type TileflowDataFieldReference, type TileflowDataFieldValue, type TileflowDataInterpolation, type TileflowDataMatchBranch, type TileflowDataStop, TileflowExtrusionStyle, TileflowFillStyle, TileflowFixedValue, type TileflowFontBundleFile, type TileflowFontBundleFontFace, type TileflowFontBundleManifest, TileflowIconAppearance, type TileflowIconLayoutMetadata, type TileflowIconManifestDiff, type TileflowIconPackageFileName, type TileflowIconPackageManifest, type TileflowIconPreviewPaint, type TileflowIconSetPin, TileflowIconSource, type TileflowIconSpriteIndex, type TileflowIconSpriteIndexEntry, type TileflowIconsLockfileV1, TileflowLabelsModuleConfig, TileflowLabelsModuleOptions, TileflowLineStyle, TileflowMap, TileflowMapResolutionError, TileflowMapScene, type TileflowModuleWithRenderStack, type TileflowNamedRenderStack, type TileflowNumericDataFieldName, TileflowPoiModuleConfig, TileflowPoiModuleOptions, type TileflowRenderComparison, type TileflowRenderFeature, type TileflowRenderField, type TileflowRenderGeometry, type TileflowRenderPass, type TileflowRenderPassInput, type
|
|
1122
|
+
export { MapLibreStyle, OpenMapTilesFieldBindings, OpenMapTilesLayerBindings, ResolveMapOptions, ResolvedTileflowMap, type TileflowAuthoringCommand, type TileflowAuthoringCommandName, type TileflowAuthoringCommandOutputKind, type TileflowAuthoringExpressionBuilder, type TileflowAuthoringManifest, type TileflowAuthoringManifestDomain, type TileflowAuthoringOperation, TileflowBackgroundStyle, TileflowBandPlacement, TileflowCircleStyle, type TileflowDataCaseBranch, type TileflowDataExpressionInput, type TileflowDataExpressionResult, type TileflowDataFieldReference, type TileflowDataFieldValue, type TileflowDataInterpolation, type TileflowDataMatchBranch, type TileflowDataStop, TileflowExtrusionStyle, TileflowFillStyle, TileflowFixedValue, type TileflowFontBundleFile, type TileflowFontBundleFontFace, type TileflowFontBundleManifest, TileflowIconAppearance, type TileflowIconLayoutMetadata, type TileflowIconManifestDiff, type TileflowIconPackageFileName, type TileflowIconPackageManifest, type TileflowIconPreviewPaint, type TileflowIconSetPin, TileflowIconSource, type TileflowIconSpriteIndex, type TileflowIconSpriteIndexEntry, type TileflowIconsLockfileV1, TileflowLabelsModuleConfig, TileflowLabelsModuleOptions, type TileflowLineBackgroundFontStack, type TileflowLineBackgroundMetrics, TileflowLineStyle, TileflowMap, TileflowMapResolutionError, TileflowMapScene, type TileflowModuleWithRenderStack, type TileflowNamedRenderStack, type TileflowNumericDataFieldName, TileflowPoiModuleConfig, TileflowPoiModuleOptions, type TileflowRenderComparison, type TileflowRenderFeature, type TileflowRenderField, type TileflowRenderGeometry, type TileflowRenderPass, type TileflowRenderPassInput, type TileflowRenderPlacement, type TileflowRenderScalar, type TileflowRenderSelector, type TileflowRenderStackOperation, type TileflowRenderTargetRefinement, type TileflowRenderTargetRefinementInput, type TileflowRenderVisibilityGroup, type TileflowRenderedIconManifestEntry, TileflowResolvedMapValidationError, TileflowRoadsModuleConfig, TileflowRoadsModuleOptions, type TileflowSemanticAdd, type TileflowSemanticChange, type TileflowSemanticDiff, type TileflowSemanticDifference, type TileflowSemanticJsonValue, type TileflowSemanticMapIdentity, type TileflowSemanticRemove, type TileflowStylePerformance, TileflowSymbolStyle, TileflowThemeColorOperation, TileflowThemeTokenReference, type TileflowZoomPerformance, ValidationMessage, analyzeTileflowStylePerformance, assertTileflowIconLayoutBounds, compareCodeUnits, createTileflowIconPreviewRuntime, createTileflowLineBackgroundFontStack, defineMap, deriveTileflowLineBackgroundGlyphs, diffTileflowIconPackageManifests, diffTileflowMaps, expr, field, hashTileflowFontBundleManifest, hashTileflowIconPackageManifest, hashTileflowRenderedIconPixels, isTileflowPortableId, isTileflowThemeName, isTileflowWorldReleaseId, labels, normalizeTileflowLineBackgroundMetrics, parseResolvedTileflowMap, parseTileflowIconJson, parseTileflowIconsLockfile, parseTileflowLineBackgroundFontStack, poi, readTileflowIconLayout, refineRenderTarget, renderPass, renderTileflowIconAtlasPixels, resolveMap, resolveTileflowIconPreviewPaint, roads, scaleTileflowIconLayout, scaleTileflowTextSizeForLineBackground, serializeCanonicalJson, serializeTileflowFontBundleManifest, serializeTileflowIconPackageManifest, serializeTileflowIconsLockfile, sha256Hex, tileflowAuthoringManifest, tileflowAuthoringManifestSchemaVersion, tileflowCompilationPhases, tileflowCompilationPlannerStages, tileflowCompilationReportSchemaVersion, tileflowFontBundleContentHashSchema, tileflowFontBundleLimits, tileflowFontBundleManifestSchema, tileflowHostedAlphaCompatibility, tileflowHostedSourceLimit, tileflowIconIdPattern, tileflowIconIdSchema, tileflowIconLayoutFields, tileflowIconLayoutSchema, tileflowIconPackageContentHashSchema, tileflowIconPackageFileNames, tileflowIconPackageLabelSchema, tileflowIconPackageLimits, tileflowIconPackageManifestSchema, tileflowIconSetPinSchema, tileflowIconSpriteIndexEntrySchema, tileflowIconSpriteIndexSchema, tileflowIconsLockfileMaximumBytes, tileflowIconsLockfileName, tileflowIconsLockfileSchema, tileflowLineBackgroundDefaults, tileflowLineBackgroundHaloRatio, tileflowLineBackgroundLimits, tileflowMapDefaultMaxDepth, tileflowOverlayPlacements, tileflowPoiImageRoles, tileflowPortableIdMaximumLength, tileflowRenderSelectorComparisons, tileflowRenderSelectorGeometries, tileflowRenderSelectorKinds, tileflowRenderStackLimits, tileflowRenderStackRenderers, tileflowRenderedIconManifestEntrySchema, tileflowRoadClasses, tileflowSemanticDiffSchemaVersion, tileflowWorldReleaseIdMaximumLength, tileflowWorldReleaseIdMinimumLength, tileflowWorldReleaseIdPattern, tileflowWorldReleaseIdPatternSource, tileflowWorldReleaseIdSchema, withRenderStack };
|