@tileflow/core 0.1.0-alpha.33 → 0.1.0-alpha.34
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 +3 -0
- package/dist/browser.d.ts +478 -150
- package/dist/browser.js +6810 -4170
- package/dist/build.d.ts +12 -4
- package/dist/build.js +609 -222
- package/dist/config-reference.json +2413 -829
- package/dist/{icon-composition-CSnN2-Xt.d.ts → icon-composition-DqoZWQuz.d.ts} +189 -2
- package/dist/index.d.ts +76 -5
- package/dist/index.js +945 -250
- package/dist/{manifest-types-E7m23eXL.d.ts → manifest-types-hmzy2bBX.d.ts} +20 -1
- package/dist/manifest.d.ts +2 -2
- package/dist/runtime.d.ts +1 -1
- package/docs/application-tile-reading.md +3 -0
- package/docs/authoring-model.md +2 -1
- package/docs/buildings-3d.md +66 -62
- package/docs/street-lights.md +32 -5
- package/docs/trees-3d.md +211 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b9 as TileflowThemeColorValue, o as TileflowSymbolStyle, A as TileflowAreaStyle, _ as TileflowLineStackStyle, n as TileflowLineStyle, l as TileflowExtrusionStyle, bc as TileflowThemeNumberValue, j as TileflowBackgroundStyle, m as TileflowFillStyle, a3 as TileflowMarkerSymbolStyle, k as TileflowCircleStyle, aZ as TileflowTerrainHillshadeStyle, aY as TileflowTerrainEncoding, ba as TileflowThemeFontValue, bb as TileflowThemeImageValue, bW as TileflowTypographyStyle, S as TileflowLight, bX as ResolvedTileflowTypography, s as TileflowLabelsModuleConfig, v as TileflowPoiModuleConfig, q as TileflowRoadsModuleConfig, ad as TileflowProjection, aT as TileflowTerrain, bg as TileflowViewConfig, M as MapLibreStyle, bk as ValidationResult } from './manifest-types-hmzy2bBX.js';
|
|
2
2
|
import * as zod from 'zod';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { T as TileflowCaptureScene, a as TileflowCaptureShot } from './capture-shot-ChPQvPyi.js';
|
|
@@ -48,11 +48,30 @@ type TileflowBoundariesModuleConfig = TileflowBoundariesModuleOptions & {
|
|
|
48
48
|
declare function boundaries(options?: TileflowBoundariesModuleOptions): TileflowBoundariesModuleConfig;
|
|
49
49
|
|
|
50
50
|
type TileflowBuildingMode = '3d' | 'flat';
|
|
51
|
+
/**
|
|
52
|
+
* How Core's 3D buildings renderer draws the map's buildings. Their colour is the map's own 3D
|
|
53
|
+
* building colour (its extrusion), else its roofs'.
|
|
54
|
+
*/
|
|
55
|
+
type TileflowBuildingsThreeDimensionalStyle = {
|
|
56
|
+
/** How strongly roof outlines and outer corners catch the light, from 0 (none) to 1, the default. */
|
|
57
|
+
edges?: TileflowThemeNumberValue;
|
|
58
|
+
/** Their own colour, drawn unlit; without it they take the building's colour, lightened. */
|
|
59
|
+
edgeColor?: TileflowThemeColorValue;
|
|
60
|
+
/** How bright the buildings light the street at night, from 0 (none) to 2; defaults to 1. */
|
|
61
|
+
nightLight?: TileflowThemeNumberValue;
|
|
62
|
+
/** Contact shadow at the foot of the walls and in tight corners; defaults to true. */
|
|
63
|
+
occlusion?: boolean;
|
|
64
|
+
/** Shadows from the sun, on the buildings and the flat map; defaults to true. */
|
|
65
|
+
shadows?: boolean;
|
|
66
|
+
/** Invented night windows, lit by rooms: decoration, not data. Defaults to false. */
|
|
67
|
+
windows?: boolean;
|
|
68
|
+
};
|
|
51
69
|
type TileflowBuildingsModuleOptions = {
|
|
52
70
|
businessCorridor?: TileflowAreaStyle;
|
|
53
71
|
extrusion?: TileflowExtrusionStyle;
|
|
54
72
|
flat?: TileflowAreaStyle;
|
|
55
73
|
mode?: TileflowBuildingMode;
|
|
74
|
+
threeDimensional?: TileflowBuildingsThreeDimensionalStyle;
|
|
56
75
|
};
|
|
57
76
|
type TileflowBuildingsModuleConfig = TileflowBuildingsModuleOptions & {
|
|
58
77
|
type: 'buildings';
|
|
@@ -136,13 +155,172 @@ type TileflowTransitModuleConfig = TileflowTransitModuleOptions & {
|
|
|
136
155
|
};
|
|
137
156
|
declare function transit(options?: TileflowTransitModuleOptions): TileflowTransitModuleConfig;
|
|
138
157
|
|
|
158
|
+
/** What a map's tree models may hold. */
|
|
159
|
+
declare const tileflowTreeModelLimits: Readonly<{
|
|
160
|
+
/** Triangles of a near model, the one drawn close to the camera. */
|
|
161
|
+
nearTriangles: 1000;
|
|
162
|
+
/** Triangles of a far model, drawn beyond the nearest tiles. */
|
|
163
|
+
farTriangles: 120;
|
|
164
|
+
/** Vertices of one model. */
|
|
165
|
+
vertices: 4096;
|
|
166
|
+
/** Models one map carries. */
|
|
167
|
+
models: 16;
|
|
168
|
+
/** Models one form draws from. */
|
|
169
|
+
perForm: 4;
|
|
170
|
+
}>;
|
|
171
|
+
/** A model as indexed triangles of a unit tree, before it is encoded. */
|
|
172
|
+
type TileflowTreeModelMesh = Readonly<{
|
|
173
|
+
/** The model's crown width over its height, as its author drew it, from 0.1 to 3. */
|
|
174
|
+
proportion: number;
|
|
175
|
+
/** x, y and z of each vertex: x and y from about -0.5 to 0.5, z from 0 to 1. */
|
|
176
|
+
positions: readonly number[];
|
|
177
|
+
/** The vertex normals, x, y and z. */
|
|
178
|
+
normals: readonly number[];
|
|
179
|
+
/** Each vertex's part, a value of `tileflowTreeParts`. */
|
|
180
|
+
parts: readonly number[];
|
|
181
|
+
/** Each vertex's shade among its part's colours, from -1 (darkest) to 1. */
|
|
182
|
+
shades: readonly number[];
|
|
183
|
+
/** Each vertex's light, from 0 (fully occluded) to 1. */
|
|
184
|
+
occlusion: readonly number[];
|
|
185
|
+
/** Three vertex indices per triangle. */
|
|
186
|
+
indices: readonly number[];
|
|
187
|
+
}>;
|
|
188
|
+
/** A prepared model, near and optionally far, as the style's tree description carries it. */
|
|
189
|
+
type TileflowTreeModel = Readonly<{
|
|
190
|
+
near: string;
|
|
191
|
+
far?: string;
|
|
192
|
+
}>;
|
|
193
|
+
/** Encodes a model as base64 text. Throws when it breaks `tileflowTreeModelLimits`. */
|
|
194
|
+
declare function encodeTileflowTreeModel(mesh: TileflowTreeModelMesh, level: 'near' | 'far'): string;
|
|
195
|
+
/**
|
|
196
|
+
* Decodes a model's base64 text, or undefined when it is not a tree model of this version or
|
|
197
|
+
* breaks `tileflowTreeModelLimits`.
|
|
198
|
+
*/
|
|
199
|
+
declare function decodeTileflowTreeModel(text: unknown, level: 'near' | 'far'): TileflowTreeModelMesh | undefined;
|
|
200
|
+
|
|
201
|
+
/** The forms a 3D tree takes. */
|
|
202
|
+
declare const tileflowTreeForms: readonly ["round", "open", "tall", "conifer", "columnar", "palm"];
|
|
203
|
+
type TileflowTreeForm = (typeof tileflowTreeForms)[number];
|
|
204
|
+
/** How a tree's surfaces take the light: facets, a smooth round shape, or bands as drawn. */
|
|
205
|
+
declare const tileflowTreeFinishes: readonly ["faceted", "smooth", "toon"];
|
|
206
|
+
type TileflowTreeFinish = (typeof tileflowTreeFinishes)[number];
|
|
207
|
+
/** A form's own scales, on top of the map's, and the map's own models it draws. */
|
|
208
|
+
type TileflowTreeFormStyle = Readonly<{
|
|
209
|
+
heightScale?: number;
|
|
210
|
+
crownScale?: number;
|
|
211
|
+
/** Ids of the map's own models, one to four; each tree draws one by its stable seed. */
|
|
212
|
+
models?: readonly string[];
|
|
213
|
+
}>;
|
|
214
|
+
/** Relative weights of the forms given to trees whose data gives none. */
|
|
215
|
+
type TileflowTreeFormMix = Readonly<Partial<Record<TileflowTreeForm, number>>>;
|
|
216
|
+
/** A region whose trees without a form in the data take their own mix. */
|
|
217
|
+
type TileflowTreeRegion = Readonly<{
|
|
218
|
+
/** `[west, south, east, north]` in degrees. */
|
|
219
|
+
bounds: readonly [number, number, number, number];
|
|
220
|
+
unknownForms: TileflowTreeFormMix;
|
|
221
|
+
}>;
|
|
222
|
+
/** The fields of the tree and canopy layers, as World names them. */
|
|
223
|
+
type TileflowTreeFields = Readonly<{
|
|
224
|
+
height: string;
|
|
225
|
+
diameterCrown: string;
|
|
226
|
+
circumference: string;
|
|
227
|
+
genus: string;
|
|
228
|
+
species: string;
|
|
229
|
+
leafType: string;
|
|
230
|
+
/** The tree's taxon at any rank, such as `Arecaceae` for palms or a genus or species. */
|
|
231
|
+
taxon: string;
|
|
232
|
+
canopyRank: string;
|
|
233
|
+
canopyClearance: string;
|
|
234
|
+
canopyCover: string;
|
|
235
|
+
/** A canopy point's measured canopy height, in metres. */
|
|
236
|
+
canopyHeight: string;
|
|
237
|
+
}>;
|
|
238
|
+
/** A model's id: its file's name, in lowercase letters, digits and hyphens. */
|
|
239
|
+
declare const tileflowTreeModelIdPattern: RegExp;
|
|
240
|
+
/** The style metadata key under which a compiled map describes its 3D trees. */
|
|
241
|
+
declare const tileflowVegetationMetadataKey = "tileflow:vegetation";
|
|
242
|
+
/** How a compiled map's 3D trees look and where their data is, resolved for one theme. */
|
|
243
|
+
type TileflowVegetation3D = Readonly<{
|
|
244
|
+
/** The vector source and its layers with the trees and the canopy points. */
|
|
245
|
+
source: string;
|
|
246
|
+
layers: Readonly<{
|
|
247
|
+
tree: string;
|
|
248
|
+
canopy?: string;
|
|
249
|
+
}>;
|
|
250
|
+
fields: TileflowTreeFields;
|
|
251
|
+
/** Sunlit colours: bark, and the leaves of each kind of tree from darkest to lightest. */
|
|
252
|
+
colors: Readonly<{
|
|
253
|
+
bark: string;
|
|
254
|
+
broadleaf: readonly string[];
|
|
255
|
+
conifer: readonly string[];
|
|
256
|
+
palm: readonly string[];
|
|
257
|
+
}>;
|
|
258
|
+
heightScale: number;
|
|
259
|
+
crownScale: number;
|
|
260
|
+
/** Each form's own scales and models. */
|
|
261
|
+
forms: Readonly<Partial<Record<TileflowTreeForm, TileflowTreeFormStyle>>>;
|
|
262
|
+
/** The map's own models its forms draw, by id, prepared from its `models` directories. */
|
|
263
|
+
models: Readonly<Record<string, TileflowTreeModel>>;
|
|
264
|
+
finish: TileflowTreeFinish;
|
|
265
|
+
/** How strongly an outline rings each tree, from 0 (none) to 1, and its colour. */
|
|
266
|
+
edges: number;
|
|
267
|
+
edgeColor?: string;
|
|
268
|
+
unknownForms: TileflowTreeFormMix;
|
|
269
|
+
regions: readonly TileflowTreeRegion[];
|
|
270
|
+
/** The style's layers that draw the trees flat, which the 3D trees stand in for while shown. */
|
|
271
|
+
flatLayers: readonly string[];
|
|
272
|
+
}>;
|
|
273
|
+
/**
|
|
274
|
+
* Reads the 3D trees a compiled style describes, or undefined when its metadata has none or holds
|
|
275
|
+
* a version or shape this Core does not know.
|
|
276
|
+
*/
|
|
277
|
+
declare function readTileflowVegetation3D(metadata: unknown): TileflowVegetation3D | undefined;
|
|
278
|
+
|
|
139
279
|
type TileflowVegetationMode = '3d' | 'flat';
|
|
140
280
|
type TileflowVegetationThreeDimensionalStyle = {
|
|
141
281
|
barkColor?: TileflowThemeColorValue;
|
|
282
|
+
/** Sunlit leaf colours of broadleaf trees, from darkest to lightest; up to four are used. */
|
|
142
283
|
broadleafColors?: readonly TileflowThemeColorValue[];
|
|
284
|
+
/** Sunlit needle colours of conifers and columns, from darkest to lightest. */
|
|
143
285
|
coniferColors?: readonly TileflowThemeColorValue[];
|
|
286
|
+
/** Sunlit frond colours of palms, from darkest to lightest; the broadleaf colours by default. */
|
|
287
|
+
palmColors?: readonly TileflowThemeColorValue[];
|
|
144
288
|
crownScale?: TileflowThemeNumberValue;
|
|
145
289
|
heightScale?: TileflowThemeNumberValue;
|
|
290
|
+
/**
|
|
291
|
+
* How trees take the light: `faceted` (the default), low-poly facets softened towards a round
|
|
292
|
+
* crown; `smooth`, round crowns; or `toon`, three bands of light and a crisp shadow, as a drawn
|
|
293
|
+
* tree has them.
|
|
294
|
+
*/
|
|
295
|
+
finish?: TileflowTreeFinish;
|
|
296
|
+
/** How strongly an outline rings each tree, from 0 (none, the default) to 1. */
|
|
297
|
+
edges?: TileflowThemeNumberValue;
|
|
298
|
+
/** The outline's colour; the crown's darkest colour, deepened, by default. */
|
|
299
|
+
edgeColor?: TileflowThemeColorValue;
|
|
300
|
+
/**
|
|
301
|
+
* Each form's own scales, on top of `heightScale` and `crownScale`, such as taller palms, and the
|
|
302
|
+
* map's own models it draws: ids of `.glb` files in the map's `models` directories, one to four,
|
|
303
|
+
* each tree drawing one. A model's materials named `bark`, `leaves`, `fronds` or `stem` take
|
|
304
|
+
* those parts' colours.
|
|
305
|
+
*/
|
|
306
|
+
forms?: Partial<Record<TileflowTreeForm, {
|
|
307
|
+
heightScale?: TileflowThemeNumberValue;
|
|
308
|
+
crownScale?: TileflowThemeNumberValue;
|
|
309
|
+
models?: readonly string[];
|
|
310
|
+
}>>;
|
|
311
|
+
/**
|
|
312
|
+
* The forms of trees whose data gives none, as relative weights: `round`, `open` and `tall`
|
|
313
|
+
* (broadleaf), `conifer`, `columnar` and `palm`. Each tree draws one from a stable hash, so it
|
|
314
|
+
* keeps its form everywhere. Defaults to the three broadleaf forms, evenly. A tree the data calls
|
|
315
|
+
* broadleaved keeps to the broadleaf forms of the mix.
|
|
316
|
+
*/
|
|
317
|
+
unknownForms?: TileflowTreeFormMix;
|
|
318
|
+
/**
|
|
319
|
+
* Regions whose trees without a form in the data take their own mix, such as palms along a
|
|
320
|
+
* subtropical coast. Bounds are `[west, south, east, north]` in degrees; the first region holding
|
|
321
|
+
* a tree applies. At most 16.
|
|
322
|
+
*/
|
|
323
|
+
regions?: readonly TileflowTreeRegion[];
|
|
146
324
|
};
|
|
147
325
|
type TileflowVegetationModuleOptions = {
|
|
148
326
|
flat?: TileflowCircleStyle;
|
|
@@ -939,6 +1117,8 @@ type TileflowPackageDirectory = Readonly<{
|
|
|
939
1117
|
type TileflowIconDirectory = TileflowLocalDirectory | TileflowPackageDirectory;
|
|
940
1118
|
/** One font directory in the ordered map font search path. */
|
|
941
1119
|
type TileflowFontDirectory = TileflowLocalDirectory | TileflowPackageDirectory;
|
|
1120
|
+
/** One directory of 3D models in the ordered map model search path. */
|
|
1121
|
+
type TileflowModelDirectory = TileflowLocalDirectory | TileflowPackageDirectory;
|
|
942
1122
|
/**
|
|
943
1123
|
* An explicit MapLibre glyph provider. `fontStacks` lists the exact comma-joined request keys
|
|
944
1124
|
* produced by each compiled `text-font` array. The map owns the URL; World never supplies fonts.
|
|
@@ -1098,6 +1278,11 @@ type TileflowMapDesign = TileflowMapTextAssets & {
|
|
|
1098
1278
|
icons?: readonly TileflowIconSource[];
|
|
1099
1279
|
/** Independent Bathymetry and Nautical products composed by the compiler. */
|
|
1100
1280
|
marine?: TileflowMarine;
|
|
1281
|
+
/**
|
|
1282
|
+
* Directories of the map's own 3D models, glTF binaries (`.glb`) named by id, such as the trees a
|
|
1283
|
+
* vegetation form draws. Omission inherits; declaration replaces; [] means no models.
|
|
1284
|
+
*/
|
|
1285
|
+
models?: readonly TileflowModelDirectory[];
|
|
1101
1286
|
/** Semantic domains, expressed directly or with explicit refine/disable operations. */
|
|
1102
1287
|
modules?: TileflowAuthoringModules;
|
|
1103
1288
|
/** Keyed MapLibre overlay units. Omission inherits; entries replace atomically. */
|
|
@@ -1352,6 +1537,8 @@ type TileflowPreparedMapAssets = {
|
|
|
1352
1537
|
ids: readonly string[];
|
|
1353
1538
|
sprite: string;
|
|
1354
1539
|
};
|
|
1540
|
+
/** The map's own 3D models by id, prepared from its `models` directories. */
|
|
1541
|
+
models?: Readonly<Record<string, TileflowTreeModel>>;
|
|
1355
1542
|
};
|
|
1356
1543
|
type TileflowSemanticCompileOptions = {
|
|
1357
1544
|
apiBaseUrl?: string;
|
|
@@ -1464,4 +1651,4 @@ declare function parseTileflowIconComposition(input: unknown): TileflowIconCompo
|
|
|
1464
1651
|
/** Dependency identity is separate from the generated artifact's content hash. */
|
|
1465
1652
|
declare function hashTileflowIconComposition(input: TileflowIconCompositionV1): Promise<string>;
|
|
1466
1653
|
|
|
1467
|
-
export { type TileflowAtmosphere as $, type TileflowBandPlacement as A, type OpenMapTilesLayerBindings as B, tileflowCompilationPhases as C, tileflowCompilationPlannerStages as D, tileflowCompilationReportSchemaVersion as E, type TileflowSemanticModuleName as F, tileflowHostedSourceLimit as G, tileflowOverlayPlacements as H, type ResolvedTileflowTheme as I, type TileflowThemeColorScheme as J, type TileflowIconSource as K, type OpenMapTilesSchema as L, type OpenMapTilesSchemaOptions as M, type ResolvedBathymetry as N, type OpenMapTilesFieldBindings as O, type ParkLayerSemantics as P, type ResolvedBathymetryRelief as Q, type ResolvedTileflowMap as R, type ResolvedMarine as S, type TileflowRenderedIconIdentity as T, type ResolvedMarineSource as U, type ResolvedTileflowData as V, type ResolvedTileflowThemeTokens as W, type TileflowAddressesModuleConfig as X, type TileflowAddressesModuleOptions as Y, type TileflowAerowaysModuleConfig as Z, type TileflowAerowaysModuleOptions as _, type TileflowIconCompositionV1 as a, type
|
|
1654
|
+
export { type TileflowAtmosphere as $, type TileflowBandPlacement as A, type OpenMapTilesLayerBindings as B, tileflowCompilationPhases as C, tileflowCompilationPlannerStages as D, tileflowCompilationReportSchemaVersion as E, type TileflowSemanticModuleName as F, tileflowHostedSourceLimit as G, tileflowOverlayPlacements as H, type ResolvedTileflowTheme as I, type TileflowThemeColorScheme as J, type TileflowIconSource as K, type OpenMapTilesSchema as L, type OpenMapTilesSchemaOptions as M, type ResolvedBathymetry as N, type OpenMapTilesFieldBindings as O, type ParkLayerSemantics as P, type ResolvedBathymetryRelief as Q, type ResolvedTileflowMap as R, type ResolvedMarine as S, type TileflowRenderedIconIdentity as T, type ResolvedMarineSource as U, type ResolvedTileflowData as V, type ResolvedTileflowThemeTokens as W, type TileflowAddressesModuleConfig as X, type TileflowAddressesModuleOptions as Y, type TileflowAerowaysModuleConfig as Z, type TileflowAerowaysModuleOptions as _, type TileflowIconCompositionV1 as a, type TileflowOverlayCollection as a$, type TileflowAtmosphereOptions as a0, type TileflowAuthoringModules as a1, type TileflowBathymetryConfig as a2, type TileflowBathymetryDemSourceIdentity as a3, type TileflowBathymetryDisplay as a4, type TileflowBathymetryOptions as a5, type TileflowBathymetryReliefConfig as a6, type TileflowBoundariesModuleConfig as a7, type TileflowBoundariesModuleOptions as a8, type TileflowBuildingMode as a9, type TileflowIconSetReference as aA, type TileflowIconSetSource as aB, type TileflowLandModuleConfig as aC, type TileflowLandModuleOptions as aD, type TileflowLandcoverClass as aE, type TileflowLandformClass as aF, type TileflowLandformsModuleConfig as aG, type TileflowLandformsModuleOptions as aH, type TileflowLanduseClass as aI, type TileflowLayerBand as aJ, type TileflowLocalDirectory as aK, type TileflowMapDesign as aL, type TileflowMapIdentity as aM, type TileflowMapLibreOverlay as aN, type TileflowMapLibreOverlayLayer as aO, type TileflowMapTooling as aP, type TileflowMarine as aQ, type TileflowMarineConfig as aR, type TileflowMarineMode as aS, type TileflowMarineSourceConfig as aT, type TileflowMarineSourceIdentity as aU, type TileflowModelDirectory as aV, type TileflowModuleOperation as aW, type TileflowModulePatch as aX, type TileflowNauticalAreaLabelStyles as aY, type TileflowNauticalModuleConfig as aZ, type TileflowNauticalModuleOptions as a_, type TileflowBuildingsModuleConfig as aa, type TileflowBuildingsModuleOptions as ab, type TileflowBuildingsThreeDimensionalStyle as ac, type TileflowCompilationDiagnostic as ad, type TileflowCompilationDomainReport as ae, type TileflowCompilationFailure as af, type TileflowCompilationOptions as ag, type TileflowCompilationPhase as ah, type TileflowCompilationPlannerDecision as ai, type TileflowCompilationPlannerStage as aj, type TileflowCompilationReport as ak, type TileflowCompilationResult as al, type TileflowCompilationSuccess as am, type TileflowDataConfig as an, type TileflowDataIdentity as ao, type TileflowDerivedMap as ap, type TileflowDisableOperation as aq, type TileflowFontDirectory as ar, type TileflowGlyphs as as, type TileflowHostedSourceCollection as at, type TileflowHostedTilesetSource as au, type TileflowHostedTilesetType as av, type TileflowIconContributorIdentity as aw, type TileflowIconDirectory as ax, TileflowIconSetError as ay, type TileflowIconSetErrorCode as az, type TileflowDataRequirementsV1 as b, encodeTileflowTreeModel as b$, type TileflowOverlayPlacement as b0, type TileflowPackageDirectory as b1, type TileflowPreparedIconCapabilities as b2, type TileflowRasterDemSourceRequirementV1 as b3, type TileflowRefineOperation as b4, type TileflowRemoveOperation as b5, type TileflowReset as b6, type TileflowResolvedThemeSelection as b7, type TileflowSemanticModules as b8, type TileflowStandaloneMap as b9, type TileflowVegetationModuleOptions as bA, type TileflowVegetationThreeDimensionalStyle as bB, type TileflowVisualValueCategory as bC, type TileflowWaterModuleConfig as bD, type TileflowWaterModuleOptions as bE, type TileflowWaterwayClass as bF, type TileflowWorldData as bG, type TileflowWorldReleaseReference as bH, type TileflowWorldSelection as bI, type TileflowWorldV1Schema as bJ, type VectorTilesData as bK, addresses as bL, aeroways as bM, assertTileflowMapThemeValues as bN, assertTileflowSdfPixels as bO, auditTileflowMapThemeValues as bP, auditTileflowThemeValues as bQ, bathymetry as bR, boundaries as bS, buildings as bT, classifyTileflowVisualProperty as bU, collectTileflowIconSetReferences as bV, createStyle as bW, createStyleResult as bX, decodeTileflowTreeModel as bY, defineTheme as bZ, disable as b_, type TileflowSun as ba, type TileflowSunPreset as bb, type TileflowTheme as bc, type TileflowThemeAmbient as bd, type TileflowThemeAuditContext as be, type TileflowThemeAuditDiagnostic as bf, TileflowThemeAuditError as bg, type TileflowThemeAuditScope as bh, type TileflowThemeDefinition as bi, type TileflowThemeLighting as bj, type TileflowThemeName as bk, type TileflowThemeSun as bl, type TileflowThemeTokens as bm, type TileflowThemeTypography as bn, type TileflowThemeTypographyStyle as bo, type TileflowTransitModuleConfig as bp, type TileflowTransitModuleOptions as bq, type TileflowTransitRailStyle as br, type TileflowTreeForm as bs, type TileflowTreeFormMix as bt, type TileflowTreeModel as bu, type TileflowTreeModelMesh as bv, type TileflowTreeRegion as bw, type TileflowVegetation3D as bx, type TileflowVegetationMode as by, type TileflowVegetationModuleConfig as bz, type TileflowSourceRequirementsV1 as c, tileflowWorld as c$, hashTileflowIconComposition as c0, hostedTileset as c1, iconSet as c2, isCanonicalOpenMapTilesSchema as c3, isSafeLocalPmtilesPath as c4, isTileflowCompilationPhase as c5, isTileflowIconSetSource as c6, isTileflowLocalDirectory as c7, land as c8, landforms as c9, tileflowIconCompositionSchema as cA, tileflowIconMetadataFileName as cB, tileflowIconSetIdSchema as cC, tileflowIconSetPackageIdSchema as cD, tileflowIconSetReferenceSchema as cE, tileflowIconSetSourceSchema as cF, tileflowIconSetTeamIdSchema as cG, tileflowIconSetVersionIdSchema as cH, tileflowIconSourceLimit as cI, tileflowLandformClasses as cJ, tileflowLayerBands as cK, tileflowLocalDirectoryMaximumLength as cL, tileflowLocalDirectoryMessage as cM, tileflowMapIdSchema as cN, tileflowNauticalSourceId as cO, tileflowNauticalV1Schema as cP, tileflowPrimarySourceId as cQ, tileflowRenderedIconIdentitySchema as cR, tileflowStyleSunPreset as cS, tileflowSunDirection as cT, tileflowSunMetadataKey as cU, tileflowSunPosition as cV, tileflowThemeLimits as cW, tileflowTreeForms as cX, tileflowTreeModelIdPattern as cY, tileflowTreeModelLimits as cZ, tileflowVegetationMetadataKey as c_, maplibreOverlay as ca, mixTileflowSunPresets as cb, nautical as cc, openMapTiles as cd, openMapTilesContractVersion as ce, parseTileflowIconComposition as cf, parseTileflowMap as cg, readTileflowSunPreset as ch, readTileflowVegetation3D as ci, refine as cj, remove as ck, reset as cl, resolveMarine as cm, resolveThemeSelection as cn, resolveThemeValues as co, resolveTileflowData as cp, resolveTileflowSun as cq, resolveTileflowTheme as cr, tileflowBandPlacements as cs, tileflowBathymetryDemSourceId as ct, tileflowBathymetrySourceId as cu, tileflowBathymetryV1Schema as cv, tileflowDefaultSunPreset as cw, tileflowIconAppearanceSchema as cx, tileflowIconAuthorMetadataSchema as cy, tileflowIconCompositionMaximumBytes as cz, type TileflowMap as d, tileflowWorldGeneration as d0, tileflowWorldTileJsonUrl as d1, tileflowWorldV1Schema as d2, transit as d3, validateTileflowCompiledIconCapabilities as d4, validateTileflowMap as d5, validateTileflowWorldV1Tilejson as d6, vectorTiles as d7, vegetation as d8, water as d9, 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 TileflowMapShot as w, type ResolveMapOptions as x, type TileflowIconAppearance as y, type TileflowLayerDomain as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as TileflowMap, u as TileflowMapScene, w as TileflowMapShot, x as ResolveMapOptions, R as ResolvedTileflowMap, y as TileflowIconAppearance, O as OpenMapTilesFieldBindings, z as TileflowLayerDomain, A as TileflowBandPlacement, B as OpenMapTilesLayerBindings, C as tileflowCompilationPhases, D as tileflowCompilationPlannerStages, E as tileflowCompilationReportSchemaVersion, F as TileflowSemanticModuleName, G as tileflowHostedSourceLimit, H as tileflowOverlayPlacements, I as ResolvedTileflowTheme, J as TileflowThemeColorScheme, K as TileflowIconSource } from './icon-composition-
|
|
2
|
-
export { L as OpenMapTilesSchema, M as OpenMapTilesSchemaOptions, P as ParkLayerSemantics, N as ResolvedBathymetry, Q as ResolvedBathymetryRelief, S as ResolvedMarine, U as ResolvedMarineSource, V as ResolvedTileflowData, W as ResolvedTileflowThemeTokens, X as TileflowAddressesModuleConfig, Y as TileflowAddressesModuleOptions, Z as TileflowAerowaysModuleConfig, _ as TileflowAerowaysModuleOptions, $ as TileflowAtmosphere, a0 as TileflowAtmosphereOptions, a1 as TileflowAuthoringModules, a2 as TileflowBathymetryConfig, a3 as TileflowBathymetryDemSourceIdentity, a4 as TileflowBathymetryDisplay, a5 as TileflowBathymetryOptions, a6 as TileflowBathymetryReliefConfig, a7 as TileflowBoundariesModuleConfig, a8 as TileflowBoundariesModuleOptions, a9 as TileflowBuildingMode, aa as TileflowBuildingsModuleConfig, ab as TileflowBuildingsModuleOptions, ac as
|
|
1
|
+
import { d as TileflowMap, u as TileflowMapScene, w as TileflowMapShot, x as ResolveMapOptions, R as ResolvedTileflowMap, y as TileflowIconAppearance, O as OpenMapTilesFieldBindings, z as TileflowLayerDomain, A as TileflowBandPlacement, B as OpenMapTilesLayerBindings, C as tileflowCompilationPhases, D as tileflowCompilationPlannerStages, E as tileflowCompilationReportSchemaVersion, F as TileflowSemanticModuleName, G as tileflowHostedSourceLimit, H as tileflowOverlayPlacements, I as ResolvedTileflowTheme, J as TileflowThemeColorScheme, K as TileflowIconSource } from './icon-composition-DqoZWQuz.js';
|
|
2
|
+
export { L as OpenMapTilesSchema, M as OpenMapTilesSchemaOptions, P as ParkLayerSemantics, N as ResolvedBathymetry, Q as ResolvedBathymetryRelief, S as ResolvedMarine, U as ResolvedMarineSource, V as ResolvedTileflowData, W as ResolvedTileflowThemeTokens, X as TileflowAddressesModuleConfig, Y as TileflowAddressesModuleOptions, Z as TileflowAerowaysModuleConfig, _ as TileflowAerowaysModuleOptions, $ as TileflowAtmosphere, a0 as TileflowAtmosphereOptions, a1 as TileflowAuthoringModules, a2 as TileflowBathymetryConfig, a3 as TileflowBathymetryDemSourceIdentity, a4 as TileflowBathymetryDisplay, a5 as TileflowBathymetryOptions, a6 as TileflowBathymetryReliefConfig, a7 as TileflowBoundariesModuleConfig, a8 as TileflowBoundariesModuleOptions, a9 as TileflowBuildingMode, aa as TileflowBuildingsModuleConfig, ab as TileflowBuildingsModuleOptions, ac as TileflowBuildingsThreeDimensionalStyle, ad as TileflowCompilationDiagnostic, ae as TileflowCompilationDomainReport, af as TileflowCompilationFailure, ag as TileflowCompilationOptions, ah as TileflowCompilationPhase, ai as TileflowCompilationPlannerDecision, aj as TileflowCompilationPlannerStage, ak as TileflowCompilationReport, al as TileflowCompilationResult, am as TileflowCompilationSuccess, h as TileflowDataCompatibilityIssue, an as TileflowDataConfig, i as TileflowDataFieldRequirement, j as TileflowDataFieldType, ao as TileflowDataIdentity, k as TileflowDataLayerRequirement, b as TileflowDataRequirementsV1, ap as TileflowDerivedMap, aq as TileflowDisableOperation, ar as TileflowFontDirectory, as as TileflowGlyphs, at as TileflowHostedSourceCollection, au as TileflowHostedTilesetSource, av as TileflowHostedTilesetType, a as TileflowIconCompositionV1, aw as TileflowIconContributorIdentity, ax as TileflowIconDirectory, ay as TileflowIconSetError, az as TileflowIconSetErrorCode, aA as TileflowIconSetReference, aB as TileflowIconSetSource, aC as TileflowLandModuleConfig, aD as TileflowLandModuleOptions, aE as TileflowLandcoverClass, aF as TileflowLandformClass, aG as TileflowLandformsModuleConfig, aH as TileflowLandformsModuleOptions, aI as TileflowLanduseClass, aJ as TileflowLayerBand, aK as TileflowLocalDirectory, aL as TileflowMapDesign, aM as TileflowMapIdentity, aN as TileflowMapLibreOverlay, aO as TileflowMapLibreOverlayLayer, aP as TileflowMapTooling, aQ as TileflowMarine, aR as TileflowMarineConfig, aS as TileflowMarineMode, aT as TileflowMarineSourceConfig, aU as TileflowMarineSourceIdentity, aV as TileflowModelDirectory, aW as TileflowModuleOperation, aX as TileflowModulePatch, aY as TileflowNauticalAreaLabelStyles, aZ as TileflowNauticalModuleConfig, a_ as TileflowNauticalModuleOptions, l as TileflowObservedDataContractV1, a$ as TileflowOverlayCollection, b0 as TileflowOverlayPlacement, b1 as TileflowPackageDirectory, b2 as TileflowPreparedIconCapabilities, b3 as TileflowRasterDemSourceRequirementV1, b4 as TileflowRefineOperation, b5 as TileflowRemoveOperation, T as TileflowRenderedIconIdentity, b6 as TileflowReset, b7 as TileflowResolvedThemeSelection, b8 as TileflowSemanticModules, c as TileflowSourceRequirementsV1, b9 as TileflowStandaloneMap, e as TileflowStyleOptions, ba as TileflowSun, bb as TileflowSunPreset, bc as TileflowTheme, bd as TileflowThemeAmbient, be as TileflowThemeAuditContext, bf as TileflowThemeAuditDiagnostic, bg as TileflowThemeAuditError, bh as TileflowThemeAuditScope, bi as TileflowThemeDefinition, bj as TileflowThemeLighting, bk as TileflowThemeName, bl as TileflowThemeSun, bm as TileflowThemeTokens, bn as TileflowThemeTypography, bo as TileflowThemeTypographyStyle, bp as TileflowTransitModuleConfig, bq as TileflowTransitModuleOptions, br as TileflowTransitRailStyle, bs as TileflowTreeForm, bt as TileflowTreeFormMix, bu as TileflowTreeModel, bv as TileflowTreeModelMesh, bw as TileflowTreeRegion, bx as TileflowVegetation3D, by as TileflowVegetationMode, bz as TileflowVegetationModuleConfig, bA as TileflowVegetationModuleOptions, bB as TileflowVegetationThreeDimensionalStyle, bC as TileflowVisualValueCategory, bD as TileflowWaterModuleConfig, bE as TileflowWaterModuleOptions, bF as TileflowWaterwayClass, bG as TileflowWorldData, bH as TileflowWorldReleaseReference, bI as TileflowWorldSelection, bJ as TileflowWorldV1Schema, bK as VectorTilesData, bL as addresses, bM as aeroways, bN as assertTileflowMapThemeValues, bO as assertTileflowSdfPixels, bP as auditTileflowMapThemeValues, bQ as auditTileflowThemeValues, bR as bathymetry, bS as boundaries, bT as buildings, bU as classifyTileflowVisualProperty, bV as collectTileflowIconSetReferences, bW as createStyle, bX as createStyleResult, bY as decodeTileflowTreeModel, bZ as defineTheme, b_ as disable, b$ as encodeTileflowTreeModel, c0 as hashTileflowIconComposition, c1 as hostedTileset, c2 as iconSet, r as inferTileflowDataRequirements, s as inferTileflowSourceRequirements, c3 as isCanonicalOpenMapTilesSchema, c4 as isSafeLocalPmtilesPath, c5 as isTileflowCompilationPhase, c6 as isTileflowIconSetSource, c7 as isTileflowLocalDirectory, c8 as land, c9 as landforms, ca as maplibreOverlay, cb as mixTileflowSunPresets, cc as nautical, cd as openMapTiles, ce as openMapTilesContractVersion, cf as parseTileflowIconComposition, cg as parseTileflowMap, ch as readTileflowSunPreset, ci as readTileflowVegetation3D, cj as refine, ck as remove, cl as reset, cm as resolveMarine, cn as resolveThemeSelection, co as resolveThemeValues, cp as resolveTileflowData, cq as resolveTileflowSun, cr as resolveTileflowTheme, cs as tileflowBandPlacements, ct as tileflowBathymetryDemSourceId, cu as tileflowBathymetrySourceId, cv as tileflowBathymetryV1Schema, cw as tileflowDefaultSunPreset, cx as tileflowIconAppearanceSchema, cy as tileflowIconAuthorMetadataSchema, cz as tileflowIconCompositionMaximumBytes, cA as tileflowIconCompositionSchema, cB as tileflowIconMetadataFileName, cC as tileflowIconSetIdSchema, cD as tileflowIconSetPackageIdSchema, cE as tileflowIconSetReferenceSchema, cF as tileflowIconSetSourceSchema, cG as tileflowIconSetTeamIdSchema, cH as tileflowIconSetVersionIdSchema, cI as tileflowIconSourceLimit, cJ as tileflowLandformClasses, cK as tileflowLayerBands, cL as tileflowLocalDirectoryMaximumLength, cM as tileflowLocalDirectoryMessage, cN as tileflowMapIdSchema, cO as tileflowNauticalSourceId, cP as tileflowNauticalV1Schema, cQ as tileflowPrimarySourceId, cR as tileflowRenderedIconIdentitySchema, cS as tileflowStyleSunPreset, cT as tileflowSunDirection, cU as tileflowSunMetadataKey, cV as tileflowSunPosition, cW as tileflowThemeLimits, cX as tileflowTreeForms, cY as tileflowTreeModelIdPattern, cZ as tileflowTreeModelLimits, c_ as tileflowVegetationMetadataKey, c$ as tileflowWorld, d0 as tileflowWorldGeneration, d1 as tileflowWorldTileJsonUrl, d2 as tileflowWorldV1Schema, d3 as transit, d4 as validateTileflowCompiledIconCapabilities, v as validateTileflowDataCompatibility, d5 as validateTileflowMap, d6 as validateTileflowWorldV1Tilejson, d7 as vectorTiles, d8 as vegetation, d9 as water } from './icon-composition-DqoZWQuz.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
|
|
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-hmzy2bBX.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 TileflowRoadStreetLightStyle, ax as TileflowRoadStructure, ay as TileflowRoadTreatmentLayerStyle, az as TileflowRoadTreatmentLineStyle, aA as TileflowRoadTreatmentStyle, aB as TileflowRoadWeight, aC as TileflowRuntimeCenterLike, a as TileflowRuntimeColorScheme, T as TileflowRuntimeManifest, aD as TileflowRuntimeManifestMap, b as TileflowRuntimeManifestMapEntry, c as TileflowRuntimeManifestTheme, aE as TileflowRuntimeSource, aF as TileflowRuntimeSourceValidation, aG as TileflowRuntimeStyle, aH as TileflowRuntimeStyleOptions, d as TileflowRuntimeSystemThemes, aI as TileflowRuntimeViewOptions, aJ as TileflowSessionController, aK as TileflowSessionGrantResponse, aL as TileflowStringStyleValue, aM as TileflowStructuralStyleValue, aN as TileflowStyleFontFace, aO as TileflowStyleValue, aP as TileflowSymbolOverlap, aQ as TileflowSymbolPlacement, aR as TileflowSymbolPlacementStyle, aS as TileflowSymbolZOrder, aT as TileflowTerrain, aU as TileflowTerrainConfig, aV as TileflowTerrainContourLabelStyle, aW as TileflowTerrainContourLineStyle, aX as TileflowTerrainContoursConfig, aY as TileflowTerrainEncoding, aZ as TileflowTerrainHillshadeStyle, a_ as TileflowTerrainLayerRange, a$ as TileflowTerrainMode, b0 as TileflowTextAnchor, b1 as TileflowTextBackground, b2 as TileflowTextJustify, b3 as TileflowTextLayout, b4 as TileflowTextPaint, b5 as TileflowTextStyle, b6 as TileflowThemeBlendSelection, b7 as TileflowThemeColorAlpha, b8 as TileflowThemeColorMix, b9 as TileflowThemeColorValue, ba as TileflowThemeFontValue, bb as TileflowThemeImageValue, bc as TileflowThemeNumberValue, bd as TileflowThemeSelection, be as TileflowThemeTokenCategory, bf as TileflowThemeValue, bg as TileflowViewConfig, bh as TileflowWaterLabelClass, bi as TileflowZoomInterpolation, bj as TileflowZoomValue, bk as ValidationResult, bl as assertValidTileflowRuntimeSource, bm as clearTileflowManifestCache, bn as color, bo as createTileflowSessionController, bp as createTileflowSessionId, bq as defaultTileflowManifestUrl, br as defaultTileflowRuntimeView, bs as fixed, bt as getTileflowAnalyticsApiUrl, bu as getTileflowStyleFontFaces, bv as inferTileflowAnalyticsFromStyleUrl, bw as loadTileflowManifest, bx as mergeTileflowAnalytics, by as nearestTileflowBlendTheme, bz as normalizeTileflowRuntimeCenter, bA as normalizeTileflowStaticImageSize, bB as normalizeTileflowUrl, bC as resolveTileflowAnalyticsRequestUrl, bD as resolveTileflowManifestMap, bE as resolveTileflowMapMode, bF as resolveTileflowRuntimeStyle, bG as resolveTileflowRuntimeTheme, bH as resolveTileflowRuntimeThemeBlend, bI as resolveTileflowRuntimeView, bJ as resolveTileflowStaticImageUrl, bK as shouldLoadTileflowManifest, bL as startTileflowSession, bM as tileflowPoiCategories, t as tileflowRuntimeManifestLimits, e as tileflowRuntimeManifestVersion, bN as tileflowStyleFontFaceLimits, bO as tileflowStyleFontFacesMetadataKey, bP as tileflowThemeBlendLimits, bQ as tileflowThemeTokenCategories, bR as token, bS as validateTileflowRuntimeSource, bT as validateTileflowThemeBlendSelection, bU as validateTileflowThemeSelection, bV as zoom } from './manifest-types-hmzy2bBX.js';
|
|
6
6
|
export { N as NormalizedTileflowCaptureScene, b as NormalizedTileflowCaptureShot, c as NormalizedTileflowCaptureShotCamera, d as TileflowCaptureApplicationTarget, e as TileflowCaptureBoundsCamera, f as TileflowCaptureCamera, g as TileflowCaptureCenterCamera, h as TileflowCaptureMapTarget, T as TileflowCaptureScene, a as TileflowCaptureShot, i as TileflowCaptureShotBlend, j as TileflowCaptureShotEasing, k as TileflowCaptureShotFrame, l as TileflowCaptureShotKeyframe, m as TileflowCaptureTarget, n as TileflowCaptureViewport, o as normalizeTileflowCaptureId, p as normalizeTileflowCaptureScene, q as normalizeTileflowCaptureShot, t as tileflowCaptureApplicationTargetSchema, r as tileflowCaptureBoundsCameraSchema, s as tileflowCaptureCameraSchema, u as tileflowCaptureCenterCameraSchema, v as tileflowCaptureIdSchema, w as tileflowCaptureMapTargetSchema, x as tileflowCaptureSceneLimits, y as tileflowCaptureSceneNameSchema, z as tileflowCaptureSceneSchema, A as tileflowCaptureSceneSchemaVersion, B as tileflowCaptureShotBlendSchema, C as tileflowCaptureShotFrameCount, D as tileflowCaptureShotFrames, E as tileflowCaptureShotKeyframeSchema, F as tileflowCaptureShotLimits, G as tileflowCaptureShotNameSchema, H as tileflowCaptureShotSchema, I as tileflowCaptureShotSchemaVersion, J as tileflowCaptureTargetSchema, K as tileflowCaptureViewportSchema } from './capture-shot-ChPQvPyi.js';
|
|
7
7
|
export { tileflowPortableIdSchema, tileflowThemeNameSchema } from './capture.js';
|
|
8
8
|
export { parseTileflowRuntimeManifest, safeParseTileflowRuntimeManifest, tileflowRuntimeManifestSchema } from './manifest.js';
|
|
@@ -1165,4 +1165,75 @@ declare function assertTileflowIconLayoutBounds(layout: TileflowIconLayoutMetada
|
|
|
1165
1165
|
declare function readTileflowIconLayout(entry: Partial<TileflowIconLayoutMetadata>): TileflowIconLayoutMetadata | undefined;
|
|
1166
1166
|
declare function scaleTileflowIconLayout(layout: TileflowIconLayoutMetadata, scale: number): TileflowIconLayoutMetadata;
|
|
1167
1167
|
|
|
1168
|
-
|
|
1168
|
+
/** A part of a tree: bark, leaves, palm fronds (leaves seen from both sides), or a palm's stem. */
|
|
1169
|
+
declare const tileflowTreeParts: {
|
|
1170
|
+
readonly bark: 0;
|
|
1171
|
+
readonly leaves: 1;
|
|
1172
|
+
readonly fronds: 2;
|
|
1173
|
+
readonly stem: 3;
|
|
1174
|
+
};
|
|
1175
|
+
|
|
1176
|
+
/** The style metadata key under which a compiled map describes its 3D buildings. */
|
|
1177
|
+
declare const tileflowBuildingsMetadataKey = "tileflow:buildings";
|
|
1178
|
+
/** A compiled map's 3D buildings, resolved for one theme. */
|
|
1179
|
+
type TileflowBuildings3DDesign = Readonly<{
|
|
1180
|
+
/** The vector source and its layers with the buildings and the places they hold. */
|
|
1181
|
+
source: string;
|
|
1182
|
+
layers: Readonly<{
|
|
1183
|
+
building: string;
|
|
1184
|
+
places?: string;
|
|
1185
|
+
}>;
|
|
1186
|
+
/**
|
|
1187
|
+
* Each building's colour: a CSS colour, or a MapLibre expression over the building's
|
|
1188
|
+
* properties that gives one, as the map colours its 3D buildings (or its roofs).
|
|
1189
|
+
*/
|
|
1190
|
+
color: string | readonly unknown[];
|
|
1191
|
+
/** How strongly roof outlines and outer corners catch the light, from 0 to 1. */
|
|
1192
|
+
edges: number;
|
|
1193
|
+
/** Their own colour, drawn unlit; without it they take the building's colour, lightened. */
|
|
1194
|
+
edgeColor?: string;
|
|
1195
|
+
/** How bright the buildings light the street at night, from 0 to 2. */
|
|
1196
|
+
nightLight: number;
|
|
1197
|
+
/** Invented night windows, lit by rooms: decoration, not data. */
|
|
1198
|
+
windows: boolean;
|
|
1199
|
+
/** Shadows from the sun, and contact shadow at the foot of the walls. */
|
|
1200
|
+
shadows: boolean;
|
|
1201
|
+
occlusion: boolean;
|
|
1202
|
+
}>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Reads the 3D buildings a compiled style describes, or undefined when its metadata has none or a
|
|
1205
|
+
* version or shape this Core does not know.
|
|
1206
|
+
*/
|
|
1207
|
+
declare function readTileflowBuildings3D(metadata: unknown): TileflowBuildings3DDesign | undefined;
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* Where light is estimated where the data maps no lamps: `lit` (the default) along the streets and
|
|
1211
|
+
* pavements the data maps as lit; `streets` also along the streets the data says nothing about,
|
|
1212
|
+
* wherever it maps few lamps, which invents light as night windows do; `none` nowhere, so only
|
|
1213
|
+
* mapped lamps shine.
|
|
1214
|
+
*/
|
|
1215
|
+
type TileflowStreetLightEstimate = 'streets' | 'lit' | 'none';
|
|
1216
|
+
/** The style metadata key under which a compiled map describes its street lights. */
|
|
1217
|
+
declare const tileflowStreetLightsMetadataKey = "tileflow:street-lights";
|
|
1218
|
+
/** A compiled map's street lights, as the roads module describes them, resolved for one theme. */
|
|
1219
|
+
type TileflowStreetLightsDesign = Readonly<{
|
|
1220
|
+
/** The vector source and its layers with the lamps, the streets and the pavements. */
|
|
1221
|
+
source: string;
|
|
1222
|
+
layers: Readonly<{
|
|
1223
|
+
streetFurniture: string;
|
|
1224
|
+
transportation: string;
|
|
1225
|
+
sidewalk?: string;
|
|
1226
|
+
}>;
|
|
1227
|
+
estimate: TileflowStreetLightEstimate;
|
|
1228
|
+
/** The light of lamps whose data gives no colour, as a CSS colour. */
|
|
1229
|
+
color: string;
|
|
1230
|
+
/** How bright the lights shine, from 0 to 2. */
|
|
1231
|
+
intensity: number;
|
|
1232
|
+
}>;
|
|
1233
|
+
/**
|
|
1234
|
+
* Reads the street lights a compiled style describes, or undefined when its metadata has none or a
|
|
1235
|
+
* version or shape this Core does not know.
|
|
1236
|
+
*/
|
|
1237
|
+
declare function readTileflowStreetLights(metadata: unknown): TileflowStreetLightsDesign | undefined;
|
|
1238
|
+
|
|
1239
|
+
export { MapLibreStyle, OpenMapTilesFieldBindings, OpenMapTilesLayerBindings, ResolveMapOptions, ResolvedTileflowMap, ResolvedTileflowTheme, type TileflowAuthoringCommand, type TileflowAuthoringCommandName, type TileflowAuthoringCommandOutputKind, type TileflowAuthoringExpressionBuilder, type TileflowAuthoringManifest, type TileflowAuthoringManifestDomain, type TileflowAuthoringOperation, TileflowBackgroundStyle, TileflowBandPlacement, type TileflowBuildings3DDesign, 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, TileflowMapShot, 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 TileflowRouteInks, type TileflowSemanticAdd, type TileflowSemanticChange, type TileflowSemanticDiff, type TileflowSemanticDifference, type TileflowSemanticJsonValue, type TileflowSemanticMapIdentity, type TileflowSemanticRemove, type TileflowStreetLightsDesign, type TileflowStylePerformance, TileflowSymbolStyle, TileflowThemeColorOperation, TileflowThemeColorScheme, 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, readTileflowBuildings3D, readTileflowIconLayout, readTileflowStreetLights, refineRenderTarget, renderPass, renderTileflowIconAtlasPixels, resolveMap, resolveTileflowIconPreviewPaint, resolveTileflowRouteInks, roads, scaleTileflowIconLayout, scaleTileflowTextSizeForLineBackground, serializeCanonicalJson, serializeTileflowFontBundleManifest, serializeTileflowIconPackageManifest, serializeTileflowIconsLockfile, sha256Hex, tileflowAuthoringManifest, tileflowAuthoringManifestSchemaVersion, tileflowBuildingsMetadataKey, tileflowCompilationPhases, tileflowCompilationPlannerStages, tileflowCompilationReportSchemaVersion, tileflowDefaultRouteInks, 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, tileflowRouteMetadataKey, tileflowRouteTokens, tileflowSemanticDiffSchemaVersion, tileflowStreetLightsMetadataKey, tileflowTreeParts, tileflowWorldReleaseIdMaximumLength, tileflowWorldReleaseIdMinimumLength, tileflowWorldReleaseIdPattern, tileflowWorldReleaseIdPatternSource, tileflowWorldReleaseIdSchema, withRenderStack };
|