@tileflow/core 0.1.0-alpha.36 → 0.1.0-alpha.37
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 +12 -11
- package/dist/browser.d.ts +183 -9
- package/dist/browser.js +1553 -74
- package/dist/build.d.ts +2 -2
- package/dist/build.js +1382 -694
- package/dist/config-reference.json +3315 -1044
- package/dist/{icon-composition-sN3JkXdb.d.ts → icon-composition-C5X3Q9Ya.d.ts} +332 -6
- package/dist/index.d.ts +153 -154
- package/dist/index.js +3711 -2667
- package/dist/worker/buildings-3d-worker.global.js +1 -1
- package/docs/buildings-3d.md +105 -13
- package/docs/data-is-separate-from-design.md +12 -31
- package/docs/nautical-marks.md +200 -0
- package/docs/public-api-and-browser-subpath.md +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -100,8 +100,8 @@ Metadata-free RGBA icon packages retain `tileflow-icon-package-v1` identity. SDF
|
|
|
100
100
|
|
|
101
101
|
These are portable contracts. `@tileflow/dev` composes declared contributors on its normal
|
|
102
102
|
preparation path, and the `tileflow` CLI owns catalog management and exact lock maintenance.
|
|
103
|
-
Importing `iconSet` adds a declaration; it
|
|
104
|
-
|
|
103
|
+
Importing `iconSet` adds a declaration; it resolves no revision and does not by itself make a
|
|
104
|
+
Team catalog available to your deployment.
|
|
105
105
|
|
|
106
106
|
## Style with themes and semantic modules
|
|
107
107
|
|
|
@@ -138,8 +138,8 @@ export default defineMap({
|
|
|
138
138
|
`system` is a runtime selection policy, not a stored theme. Builds, captures, static scenes, and
|
|
139
139
|
receipts must use a concrete theme such as `light` or `dark`.
|
|
140
140
|
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
Every theme of a map shares one structure, so a browser map can cross-fade or blend themes on one
|
|
142
|
+
MapLibre instance without extra requests. See
|
|
143
143
|
[theme transitions, time-of-day presets and blends](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/theme-transitions-and-blends.md).
|
|
144
144
|
The same controller can make chosen modules recede and the map's labels fade so an application's
|
|
145
145
|
own content reads first; see [map emphasis](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/map-emphasis.md).
|
|
@@ -239,8 +239,8 @@ Tileflow World is the hosted primary source. `vectorTiles()` with `openMapTiles(
|
|
|
239
239
|
external local/self-hosted data; hosted eligibility is separate. `hostedTileset()`, `boundaryAreas`
|
|
240
240
|
and semantic overlays add named sources. Local PMTiles inputs are tooling-only.
|
|
241
241
|
|
|
242
|
-
`bathymetry({vectorLayers: {...}})` declares compatible contour/name layers
|
|
243
|
-
|
|
242
|
+
`bathymetry({vectorLayers: {...}})` declares compatible contour/name layers. `marine: 'nautical'`
|
|
243
|
+
adds navigation marks and a "Not for navigation" notice.
|
|
244
244
|
|
|
245
245
|
World attribution links to Tileflow's source notice, OpenMapTiles, and OpenStreetMap. External
|
|
246
246
|
vector data retains the attribution supplied by its owner.
|
|
@@ -254,9 +254,9 @@ before loading a style. See the
|
|
|
254
254
|
|
|
255
255
|
Set `projection: 'globe'` and `atmosphere: true` in `tileflow.config.ts` for a blue globe rim,
|
|
256
256
|
space background, and stars. Use `atmosphere: false` to disable an inherited atmosphere, or an
|
|
257
|
-
options object for theme-aware colors and bounded star brightness/motion.
|
|
258
|
-
|
|
259
|
-
|
|
257
|
+
options object for theme-aware colors and bounded star brightness/motion. Frameworks and capture
|
|
258
|
+
apply it; direct MapLibre integrations call `attachTileflowAtmosphere(map)` from
|
|
259
|
+
`@tileflow/core/browser`. See
|
|
260
260
|
[globe atmosphere](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/globe-atmosphere.md).
|
|
261
261
|
|
|
262
262
|
Applications that need the map's data themselves, such as streets to route over or the place
|
|
@@ -285,8 +285,8 @@ for exact options. Prefer the installed CLI's generated contracts when using a p
|
|
|
285
285
|
|
|
286
286
|
## Detailed guides
|
|
287
287
|
|
|
288
|
-
These guides
|
|
289
|
-
|
|
288
|
+
These guides also ship in the installed package under `docs/` and describe this source revision;
|
|
289
|
+
prefer the installed copy for an older release.
|
|
290
290
|
|
|
291
291
|
- [Globe atmosphere](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/globe-atmosphere.md)
|
|
292
292
|
- [Map and terrain examples](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/map-and-terrain-examples.md)
|
|
@@ -305,6 +305,7 @@ revision; prefer the installed copy when working with an older release.
|
|
|
305
305
|
- [Street lights](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/street-lights.md)
|
|
306
306
|
- [3D trees](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/trees-3d.md)
|
|
307
307
|
- [Boundary areas and choropleths](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/boundary-areas-and-choropleths.md)
|
|
308
|
+
- [Nautical marks](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/nautical-marks.md)
|
|
308
309
|
- [Data is separate from design](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/data-is-separate-from-design.md)
|
|
309
310
|
- [Capture scenes](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/capture-scenes.md)
|
|
310
311
|
- [Capture shots](https://github.com/tileflow/tileflow-sdk/blob/main/packages/core/docs/capture-shots.md)
|
package/dist/browser.d.ts
CHANGED
|
@@ -408,6 +408,27 @@ type TileflowBoundariesModuleConfig = TileflowBoundariesModuleOptions & {
|
|
|
408
408
|
type: 'boundaries';
|
|
409
409
|
};
|
|
410
410
|
|
|
411
|
+
/** The parts of a model, each coloured by the theme: the model's materials name them. */
|
|
412
|
+
declare const tileflowModelParts: Readonly<{
|
|
413
|
+
surface: 0;
|
|
414
|
+
secondary: 1;
|
|
415
|
+
glass: 2;
|
|
416
|
+
accent: 3;
|
|
417
|
+
roof: 4;
|
|
418
|
+
}>;
|
|
419
|
+
type TileflowModelPart = keyof typeof tileflowModelParts;
|
|
420
|
+
/** Architectural roles control lighting independently of the model's palette slots. */
|
|
421
|
+
declare const tileflowModelLightingRoles: Readonly<{
|
|
422
|
+
unclassified: 0;
|
|
423
|
+
wall: 1;
|
|
424
|
+
door: 2;
|
|
425
|
+
roof: 3;
|
|
426
|
+
window: 4;
|
|
427
|
+
lamp: 5;
|
|
428
|
+
logo: 6;
|
|
429
|
+
}>;
|
|
430
|
+
type TileflowModelLightingRole = keyof typeof tileflowModelLightingRoles;
|
|
431
|
+
|
|
411
432
|
type TileflowBuildingMode = '3d' | 'flat';
|
|
412
433
|
/**
|
|
413
434
|
* How Core's 3D buildings renderer draws the map's buildings. Their colour is the map's own 3D
|
|
@@ -426,8 +447,52 @@ type TileflowBuildingsThreeDimensionalStyle = {
|
|
|
426
447
|
edgeColor?: TileflowThemeColorValue;
|
|
427
448
|
/** How bright the buildings light the street at night, from 0 (none) to 2; defaults to 0. */
|
|
428
449
|
nightLight?: TileflowThemeNumberValue;
|
|
450
|
+
/** Height-selected architectural flood lighting. Off by default; follows scene darkness. */
|
|
451
|
+
floodLight?: {
|
|
452
|
+
intensity?: TileflowThemeNumberValue;
|
|
453
|
+
/** Compensates authored light-colour transforms during darkness evaluation; defaults to 1. */
|
|
454
|
+
brightnessScale?: TileflowThemeNumberValue;
|
|
455
|
+
color?: TileflowThemeColorValue;
|
|
456
|
+
/** Stable per-building ground radius range in metres; defaults to [30, 100]. */
|
|
457
|
+
groundRadius?: readonly [number, number];
|
|
458
|
+
/** Ground light starts at this height in metres; defaults to 30. */
|
|
459
|
+
minGroundHeight?: number;
|
|
460
|
+
/** Wall light starts above this height in metres; defaults to 200. */
|
|
461
|
+
minWallHeight?: number;
|
|
462
|
+
/** Wall radius as a fraction of building height; defaults to 1/3. */
|
|
463
|
+
wallHeightRatio?: number;
|
|
464
|
+
};
|
|
465
|
+
/** Per-role physical materials and emission, separate from palette slots and occlusion. */
|
|
466
|
+
modelLighting?: Partial<Record<TileflowModelLightingRole, {
|
|
467
|
+
emissiveStrength?: TileflowThemeNumberValue;
|
|
468
|
+
/** Stable per-model addition to emission, from zero to this amount. */
|
|
469
|
+
emissiveVariation?: TileflowThemeNumberValue;
|
|
470
|
+
emissiveColor?: TileflowThemeColorValue;
|
|
471
|
+
/** Height fractions, multipliers and curve exponent; defaults to a constant multiplier of one. */
|
|
472
|
+
emissiveHeight?: readonly [
|
|
473
|
+
TileflowThemeNumberValue,
|
|
474
|
+
TileflowThemeNumberValue,
|
|
475
|
+
TileflowThemeNumberValue,
|
|
476
|
+
TileflowThemeNumberValue,
|
|
477
|
+
TileflowThemeNumberValue
|
|
478
|
+
];
|
|
479
|
+
/** Physical-material tint. Explicit modelColors take precedence. */
|
|
480
|
+
color?: TileflowThemeColorValue;
|
|
481
|
+
colorMix?: TileflowThemeNumberValue;
|
|
482
|
+
metallic?: TileflowThemeNumberValue;
|
|
483
|
+
roughness?: TileflowThemeNumberValue;
|
|
484
|
+
/** Independent HSL ranges, seeded by model identity; no window geometry is invented. */
|
|
485
|
+
colorVariation?: {
|
|
486
|
+
hue: readonly [TileflowThemeNumberValue, TileflowThemeNumberValue];
|
|
487
|
+
saturation: readonly [TileflowThemeNumberValue, TileflowThemeNumberValue];
|
|
488
|
+
lightness: readonly [TileflowThemeNumberValue, TileflowThemeNumberValue];
|
|
489
|
+
space?: 'srgb' | 'linear';
|
|
490
|
+
};
|
|
491
|
+
}>>;
|
|
429
492
|
/** Contact shadow at the foot of the walls and in tight corners; defaults to true. */
|
|
430
493
|
occlusion?: boolean;
|
|
494
|
+
/** Prepared model ambient occlusion strength, from 0 to 1; defaults to 0.75. */
|
|
495
|
+
modelOcclusion?: TileflowThemeNumberValue;
|
|
431
496
|
/** Shadows from the sun, on the buildings and the flat map; defaults to true. */
|
|
432
497
|
shadows?: boolean;
|
|
433
498
|
/**
|
|
@@ -520,22 +585,47 @@ type TileflowLandformsModuleConfig = TileflowLandformsModuleOptions & {
|
|
|
520
585
|
|
|
521
586
|
/** Labels anchored inside polygon features; point-feature labels remain on their feature style. */
|
|
522
587
|
type TileflowNauticalAreaLabelStyles = {
|
|
588
|
+
/** Provider coverage cells; hidden unless a map makes this style visible. */
|
|
523
589
|
coverage?: TileflowSymbolStyle;
|
|
524
590
|
hazards?: TileflowSymbolStyle;
|
|
525
591
|
navigationAreas?: TileflowSymbolStyle;
|
|
526
592
|
reefs?: TileflowSymbolStyle;
|
|
527
593
|
wrecks?: TileflowSymbolStyle;
|
|
528
594
|
};
|
|
595
|
+
/**
|
|
596
|
+
* One style per semantic group of `nautical-v1` objects. Point groups draw a circle `marker`, an
|
|
597
|
+
* `icon` from the theme's nautical image tokens, and `text`; area groups draw a `fill` and an
|
|
598
|
+
* `outline`; line groups draw one stroke. Every group respects each feature's `min_zoom`, and
|
|
599
|
+
* point groups place more important features (lower `rank`) first.
|
|
600
|
+
*/
|
|
529
601
|
type TileflowNauticalModuleOptions = {
|
|
602
|
+
/** Other aids: moorings, fog signals, racons, radio and signal stations, and virtual aids. */
|
|
530
603
|
aids?: TileflowMarkerSymbolStyle;
|
|
604
|
+
/** Fixed beacons and daymarks, coloured by their first colour. */
|
|
605
|
+
beacons?: TileflowMarkerSymbolStyle;
|
|
606
|
+
/** Buoys, light floats, and light vessels, coloured by their first colour. */
|
|
607
|
+
buoys?: TileflowMarkerSymbolStyle;
|
|
608
|
+
/** Submarine cable and pipeline lines. */
|
|
609
|
+
cables?: TileflowLineStyle;
|
|
610
|
+
/** Restrained indication of where a provider publishes marks. */
|
|
531
611
|
coverage?: TileflowAreaStyle;
|
|
612
|
+
/** Harbour and marina points. */
|
|
613
|
+
harbours?: TileflowMarkerSymbolStyle;
|
|
614
|
+
/** Hazard areas; the outline also strokes linear hazards such as booms. */
|
|
532
615
|
hazardAreas?: TileflowAreaStyle;
|
|
616
|
+
/** Rocks by water level, obstructions, and offshore platforms. */
|
|
533
617
|
hazards?: TileflowMarkerSymbolStyle;
|
|
534
618
|
labels?: TileflowNauticalAreaLabelStyles;
|
|
535
619
|
lighthouses?: TileflowMarkerSymbolStyle;
|
|
620
|
+
/** Light flares coloured by the light's first colour, with the chart light label. */
|
|
536
621
|
lights?: TileflowMarkerSymbolStyle;
|
|
622
|
+
/** Restricted, military, anchorage, traffic-separation, and other navigation areas. */
|
|
537
623
|
navigationAreas?: TileflowAreaStyle;
|
|
624
|
+
/** Ports, sized by `size` and placed by `rank` from low zooms. */
|
|
625
|
+
ports?: TileflowMarkerSymbolStyle;
|
|
538
626
|
reefs?: TileflowAreaStyle;
|
|
627
|
+
/** Traffic-separation lines and recommended routes, tracks, and ferry routes. */
|
|
628
|
+
routes?: TileflowLineStyle;
|
|
539
629
|
soundings?: TileflowMarkerSymbolStyle;
|
|
540
630
|
wreckAreas?: TileflowAreaStyle;
|
|
541
631
|
wrecks?: TileflowMarkerSymbolStyle;
|
|
@@ -1658,6 +1748,10 @@ type TileflowBuildings3DMap = {
|
|
|
1658
1748
|
lng: number;
|
|
1659
1749
|
};
|
|
1660
1750
|
getBearing(): number;
|
|
1751
|
+
getCanvas?(): {
|
|
1752
|
+
clientHeight: number;
|
|
1753
|
+
};
|
|
1754
|
+
getVerticalFieldOfView?(): number;
|
|
1661
1755
|
getLight?(): unknown;
|
|
1662
1756
|
getLayer(id: string): unknown;
|
|
1663
1757
|
getPaintProperty(layer: string, name: string): unknown;
|
|
@@ -1868,15 +1962,34 @@ declare const tileflowStreetLightsLayerId = "tileflow-street-lights";
|
|
|
1868
1962
|
*/
|
|
1869
1963
|
declare function createTileflowStreetLights(options: TileflowStreetLightsOptions): TileflowStreetLights;
|
|
1870
1964
|
|
|
1871
|
-
/**
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1965
|
+
/** Begin/end height fractions, begin/end multipliers and the base-10 curve exponent. */
|
|
1966
|
+
type TileflowModelEmissionGradient = readonly [number, number, number, number, number];
|
|
1967
|
+
type TileflowModelRoleLighting = Readonly<{
|
|
1968
|
+
emissiveStrength: number;
|
|
1969
|
+
emissiveVariation?: number;
|
|
1970
|
+
emissiveColor?: string;
|
|
1971
|
+
emissiveHeight: TileflowModelEmissionGradient;
|
|
1972
|
+
color?: string;
|
|
1973
|
+
colorMix?: number;
|
|
1974
|
+
metallic?: number;
|
|
1975
|
+
roughness?: number;
|
|
1976
|
+
colorVariation?: Readonly<{
|
|
1977
|
+
hue: readonly [number, number];
|
|
1978
|
+
saturation: readonly [number, number];
|
|
1979
|
+
lightness: readonly [number, number];
|
|
1980
|
+
/** Colour factors may be authored in linear light, as in glTF. Defaults to sRGB. */
|
|
1981
|
+
space?: 'srgb' | 'linear';
|
|
1982
|
+
}>;
|
|
1983
|
+
}>;
|
|
1984
|
+
type TileflowBuildingFloodLight = Readonly<{
|
|
1985
|
+
intensity: number;
|
|
1986
|
+
brightnessScale: number;
|
|
1987
|
+
color: string;
|
|
1988
|
+
groundRadius: readonly [number, number];
|
|
1989
|
+
minGroundHeight: number;
|
|
1990
|
+
minWallHeight: number;
|
|
1991
|
+
wallHeightRatio: number;
|
|
1878
1992
|
}>;
|
|
1879
|
-
type TileflowModelPart = keyof typeof tileflowModelParts;
|
|
1880
1993
|
|
|
1881
1994
|
/** The style metadata key under which a compiled map describes its 3D buildings. */
|
|
1882
1995
|
declare const tileflowBuildingsMetadataKey = "tileflow:buildings";
|
|
@@ -1907,11 +2020,17 @@ type TileflowBuildings3DDesign = Readonly<{
|
|
|
1907
2020
|
edgeColor?: string;
|
|
1908
2021
|
/** How bright the buildings light the street at night, from 0 to 2. */
|
|
1909
2022
|
nightLight: number;
|
|
2023
|
+
/** Height-selected light on ordinary buildings and the ground, independent of shop windows. */
|
|
2024
|
+
floodLight?: TileflowBuildingFloodLight;
|
|
2025
|
+
/** Emission by architectural role, independent of model palette slots. */
|
|
2026
|
+
modelLighting?: Readonly<Partial<Record<TileflowModelLightingRole, TileflowModelRoleLighting>>>;
|
|
1910
2027
|
/** Invented night windows, lit by rooms: decoration, not data. */
|
|
1911
2028
|
windows: boolean;
|
|
1912
2029
|
/** Shadows from the sun, and contact shadow at the foot of the walls. */
|
|
1913
2030
|
shadows: boolean;
|
|
1914
2031
|
occlusion: boolean;
|
|
2032
|
+
/** Strength of prepared model ambient visibility; zero leaves the sky contribution unchanged. */
|
|
2033
|
+
modelOcclusion?: number;
|
|
1915
2034
|
/** Building models the map places in its city, each replacing the buildings under it. */
|
|
1916
2035
|
models?: readonly TileflowBuildingModelPlacement[];
|
|
1917
2036
|
/** The colours of the models' parts; a part without one takes it from the building colour. */
|
|
@@ -1942,6 +2061,13 @@ type TileflowBuildingModelPlacement = Readonly<{
|
|
|
1942
2061
|
declare function readTileflowBuildings3D(metadata: unknown): TileflowBuildings3DDesign | undefined;
|
|
1943
2062
|
/** The most models one map places. */
|
|
1944
2063
|
declare const tileflowBuildingModelPlacementLimit = 256;
|
|
2064
|
+
/**
|
|
2065
|
+
* The address a hosted build gives a placement of one of the map's own models: a placeholder that
|
|
2066
|
+
* Tileflow replaces, when the map is deployed, with that model's address in the map's Team.
|
|
2067
|
+
*/
|
|
2068
|
+
declare function tileflowTeamModelUrl(model: string): string;
|
|
2069
|
+
/** The Team model a placement's address is the placeholder of, if it is one. */
|
|
2070
|
+
declare function readTileflowTeamModelName(url: string): string | undefined;
|
|
1945
2071
|
|
|
1946
2072
|
/** The MapLibre GL JS map capabilities the trees use. */
|
|
1947
2073
|
type TileflowTrees3DMap = {
|
|
@@ -2329,6 +2455,54 @@ type TileflowShotPlayback = {
|
|
|
2329
2455
|
*/
|
|
2330
2456
|
declare function playTileflowShot(map: TileflowShotPlayerMap, shot: TileflowShotMotion, options?: TileflowShotPlaybackOptions): TileflowShotPlayback;
|
|
2331
2457
|
|
|
2458
|
+
type TileflowNoticeControlPosition = 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
|
|
2459
|
+
/** A MapLibre control; its methods receive the map that owns it. */
|
|
2460
|
+
type TileflowNoticeControl = {
|
|
2461
|
+
onAdd(map: unknown): HTMLElement;
|
|
2462
|
+
onRemove(map: unknown): void;
|
|
2463
|
+
};
|
|
2464
|
+
type TileflowNoticeEvent = 'remove' | 'style.load' | 'styledata';
|
|
2465
|
+
/** Structural MapLibre capabilities; importing this module never loads a renderer. */
|
|
2466
|
+
type TileflowNoticesMap = {
|
|
2467
|
+
addControl(control: TileflowNoticeControl, position?: TileflowNoticeControlPosition): unknown;
|
|
2468
|
+
getContainer(): HTMLElement;
|
|
2469
|
+
getStyle(): {
|
|
2470
|
+
metadata?: unknown;
|
|
2471
|
+
} | undefined;
|
|
2472
|
+
off(event: TileflowNoticeEvent, listener: () => void): unknown;
|
|
2473
|
+
on(event: TileflowNoticeEvent, listener: () => void): unknown;
|
|
2474
|
+
removeControl(control: TileflowNoticeControl): unknown;
|
|
2475
|
+
};
|
|
2476
|
+
type TileflowNoticesOptions = {
|
|
2477
|
+
/** Map corner for the notice. Defaults to the attribution corner, `bottom-right`. */
|
|
2478
|
+
position?: TileflowNoticeControlPosition;
|
|
2479
|
+
};
|
|
2480
|
+
/**
|
|
2481
|
+
* Render the notices a compiled style declares, such as "Not for navigation" for Nautical, as a
|
|
2482
|
+
* compact always-visible map control. Call after constructing a browser map. Follows style
|
|
2483
|
+
* replacements and removes its control, listeners, and pending read on disposal or map removal.
|
|
2484
|
+
*/
|
|
2485
|
+
declare function attachTileflowNotices(map: TileflowNoticesMap, options?: TileflowNoticesOptions): () => void;
|
|
2486
|
+
|
|
2487
|
+
/** Style metadata key for notices that must stay visible whenever the map is displayed. */
|
|
2488
|
+
declare const tileflowNoticesMetadataKey: "tileflow:notices";
|
|
2489
|
+
/**
|
|
2490
|
+
* A short plain-text notice the compiled style declares for the sources it names. Runtimes render
|
|
2491
|
+
* it on the map, next to the attribution; it never replaces a source's own attribution.
|
|
2492
|
+
*/
|
|
2493
|
+
type TileflowMapNotice = Readonly<{
|
|
2494
|
+
id: string;
|
|
2495
|
+
sources: readonly string[];
|
|
2496
|
+
text: string;
|
|
2497
|
+
}>;
|
|
2498
|
+
declare const tileflowNoticeLimits: Readonly<{
|
|
2499
|
+
maxNotices: 8;
|
|
2500
|
+
maxSources: 16;
|
|
2501
|
+
maxTextLength: 120;
|
|
2502
|
+
}>;
|
|
2503
|
+
/** Read bounded notices from style metadata; malformed entries are ignored, never rendered. */
|
|
2504
|
+
declare function readTileflowNotices(metadata: unknown): readonly TileflowMapNotice[];
|
|
2505
|
+
|
|
2332
2506
|
declare const tileflowMaplibreContourVersion: "0.1.0";
|
|
2333
2507
|
type TileflowContourProtocolRequest = Readonly<{
|
|
2334
2508
|
url: string;
|
|
@@ -2649,4 +2823,4 @@ declare function createTileflowTransformRequest<TRequest extends TileflowTransfo
|
|
|
2649
2823
|
worldRequestBridge?: TileflowWorldRequestBridge;
|
|
2650
2824
|
}): TileflowTransformRequest<TRequest, TResourceType>;
|
|
2651
2825
|
|
|
2652
|
-
export { type CreateBoundaryFeatureStateOptions, type TileflowAtmosphereMap, type TileflowBoundaryFeatureState, type TileflowBrowserThemeBlendSelection, type TileflowBuildingMesh, type TileflowBuildingMeshOptions, type TileflowBuildingModelPlacement, type TileflowBuildings3D, type TileflowBuildings3DChange, type TileflowBuildings3DDesign, type TileflowBuildings3DMap, type TileflowBuildings3DOptions, type TileflowBuildings3DThemes, type TileflowComposedRequest, type TileflowContourProtocolHandler, type TileflowContourProtocolRegistrationOptions, type TileflowContourProtocolRegistry, type TileflowContourProtocolRequest, type TileflowContourProtocolResponse, type TileflowDepthMarker, type TileflowDepthMarkerHandle, type TileflowDepthMarkerMap, type TileflowDepthMarkers, type TileflowDepthMarkersOptions, type TileflowDynamicImage, type TileflowDynamicImageContext, type TileflowDynamicImageHandle, type TileflowEmphasis, type TileflowEmphasisArea, type TileflowEmphasisModule, type TileflowFairUseNotice, type TileflowFairUseNoticeController, type TileflowFairUseNoticeState, type TileflowFeatureStateMap, type TileflowFrameScheduler, type TileflowGroundLayer, type TileflowGroundLayers, type TileflowGroundLayersMap, type TileflowGroundLayersOptions, type TileflowGroundOrderMap, type TileflowLineProgressAnimation, type TileflowLineProgressController, type TileflowLineProgressGradientOptions, type TileflowLineProgressLayer, type TileflowLineProgressMap, type TileflowLineProgressOptions, type TileflowLineProgressShown, type TileflowLineProgressState, type TileflowMapLifecycleAttachment, type TileflowMapLifecycleEvent, type TileflowMapLifecycleSubscriber, type TileflowMapReadinessState, type TileflowPmtilesProtocolHandler, type TileflowPmtilesProtocolRegistrationOptions, type TileflowPmtilesProtocolRegistry, type TileflowRouteInks, type TileflowSessionSender, type TileflowSessionStarter, type TileflowShotCamera, type TileflowShotCue, type TileflowShotKeyframe, type TileflowShotMotion, type TileflowShotPlayback, type TileflowShotPlaybackOptions, type TileflowShotPlayerMap, type TileflowShotState, type TileflowStreetLightEstimate, type TileflowStreetLightLayers, type TileflowStreetLightPlacement, type TileflowStreetLightPlacementOptions, type TileflowStreetLights, type TileflowStreetLightsDesign, type TileflowStreetLightsMap, type TileflowStreetLightsOptions, type TileflowStyleFontLoadOptions, type TileflowStyleStateValue, type TileflowStyleSwitchMap, type TileflowSun, type TileflowSunPreset, type TileflowSunRequest, type TileflowThemeBlendRequest, type TileflowThemeBlendState, type TileflowThemeChangeOptions, type TileflowThemeController, type TileflowThemeTransition, type TileflowThemeTransitionOptions, type TileflowThemeTransitionPhase, type TileflowThemeTransitionResult, type TileflowTile, type TileflowTileAddress, type TileflowTileAreaRequest, type TileflowTileFeature, type TileflowTileGeometryType, type TileflowTileLayer, type TileflowTileReader, type TileflowTileReaderOptions, type TileflowTileRequestTransform, type TileflowTileSourceMap, type TileflowTransformRequest, type TileflowTransformRequestParameters, type TileflowTreeFields, type TileflowTreeForm, type TileflowTreeFormMix, type TileflowTreeFormRange, type TileflowTreeLayers, type TileflowTreePlacement, type TileflowTreePlacementOptions, type TileflowTreeRange, type TileflowTreeRegion, type TileflowTrees3D, type TileflowTrees3DChange, type TileflowTrees3DMap, type TileflowTrees3DOptions, type TileflowTrees3DThemes, type TileflowUserTransformRequest, type TileflowVectorTileDecodeOptions, type TileflowVegetation3D, type TileflowVegetationController, type TileflowVegetationDisplay, type TileflowVegetationOptions, type TileflowVegetationRepresentation, type TileflowViewMode, type TileflowWorldProtocolHandler, type TileflowWorldProtocolRequest, type TileflowWorldProtocolResponse, type TileflowWorldRequestBridge, attachTileflowAtmosphere, attachTileflowFairUseNotice, attachTileflowMapLifecycle, createBoundaryFeatureState, createTileflowBuildings3D, createTileflowDepthMarkers, createTileflowGroundLayers, createTileflowLineProgress, createTileflowSessionStarter, createTileflowStreetLights, createTileflowThemeController, createTileflowTileReader, createTileflowTransformRequest, createTileflowTrees3D, createTileflowVegetation, decodeTileflowVectorTile, getTileflowSystemColorScheme, loadTileflowStyleFonts, meshTileflowBuildings, mixTileflowRouteInks, mixTileflowSunPresets, placeTileflowStreetLights, placeTileflowTrees, playTileflowShot, readTileflowBuildings3D, readTileflowMapTileSource, readTileflowRouteInks, readTileflowStreetLights, readTileflowSunPreset, readTileflowVegetation3D, readTileflowVegetationDisplay, registerTileflowContourProtocol, registerTileflowPmtilesProtocol, registerTileflowWorldRequestBridge, resolveTileflowSun, resolveTileflowVegetationRepresentation, subscribeTileflowSystemColorScheme, tileflowBuildingExtent, tileflowBuildingModelPlacementLimit, tileflowBuildingVertexBytes, tileflowBuildings3DLayerId, tileflowBuildingsMetadataKey, tileflowDefaultRouteInks, tileflowDefaultSunPreset, tileflowDepthMarkerPlacement, tileflowFairUseNoticeMessage, tileflowGroundBeforeId, tileflowLayerDomainMetadataKey, tileflowLineProgressGradient, tileflowMaplibreContourVersion, tileflowPmtilesMaximumDirectoryDepth, tileflowPmtilesProtocol, tileflowRouteMetadataKey, tileflowShotStateAt, tileflowStreetLightBytes, tileflowStreetLightsLayerId, tileflowStreetLightsMetadataKey, tileflowStyleRouteInks, tileflowStyleSunPreset, tileflowSunDirection, tileflowSunLightMatrix, tileflowSunMetadataKey, tileflowSunPosition, tileflowTilePointToLngLat, tileflowTilesForBounds, tileflowTreeBytes, tileflowTreeFormOf, tileflowTreeForms, tileflowTrees3DLayerId, tileflowVegetationDisplayMetadataKey, tileflowVegetationMetadataKey, validateTileflowBrowserThemeBlendSelection, validateTileflowEmphasis };
|
|
2826
|
+
export { type CreateBoundaryFeatureStateOptions, type TileflowAtmosphereMap, type TileflowBoundaryFeatureState, type TileflowBrowserThemeBlendSelection, type TileflowBuildingMesh, type TileflowBuildingMeshOptions, type TileflowBuildingModelPlacement, type TileflowBuildings3D, type TileflowBuildings3DChange, type TileflowBuildings3DDesign, type TileflowBuildings3DMap, type TileflowBuildings3DOptions, type TileflowBuildings3DThemes, type TileflowComposedRequest, type TileflowContourProtocolHandler, type TileflowContourProtocolRegistrationOptions, type TileflowContourProtocolRegistry, type TileflowContourProtocolRequest, type TileflowContourProtocolResponse, type TileflowDepthMarker, type TileflowDepthMarkerHandle, type TileflowDepthMarkerMap, type TileflowDepthMarkers, type TileflowDepthMarkersOptions, type TileflowDynamicImage, type TileflowDynamicImageContext, type TileflowDynamicImageHandle, type TileflowEmphasis, type TileflowEmphasisArea, type TileflowEmphasisModule, type TileflowFairUseNotice, type TileflowFairUseNoticeController, type TileflowFairUseNoticeState, type TileflowFeatureStateMap, type TileflowFrameScheduler, type TileflowGroundLayer, type TileflowGroundLayers, type TileflowGroundLayersMap, type TileflowGroundLayersOptions, type TileflowGroundOrderMap, type TileflowLineProgressAnimation, type TileflowLineProgressController, type TileflowLineProgressGradientOptions, type TileflowLineProgressLayer, type TileflowLineProgressMap, type TileflowLineProgressOptions, type TileflowLineProgressShown, type TileflowLineProgressState, type TileflowMapLifecycleAttachment, type TileflowMapLifecycleEvent, type TileflowMapLifecycleSubscriber, type TileflowMapNotice, type TileflowMapReadinessState, type TileflowNoticeControl, type TileflowNoticeControlPosition, type TileflowNoticesMap, type TileflowNoticesOptions, type TileflowPmtilesProtocolHandler, type TileflowPmtilesProtocolRegistrationOptions, type TileflowPmtilesProtocolRegistry, type TileflowRouteInks, type TileflowSessionSender, type TileflowSessionStarter, type TileflowShotCamera, type TileflowShotCue, type TileflowShotKeyframe, type TileflowShotMotion, type TileflowShotPlayback, type TileflowShotPlaybackOptions, type TileflowShotPlayerMap, type TileflowShotState, type TileflowStreetLightEstimate, type TileflowStreetLightLayers, type TileflowStreetLightPlacement, type TileflowStreetLightPlacementOptions, type TileflowStreetLights, type TileflowStreetLightsDesign, type TileflowStreetLightsMap, type TileflowStreetLightsOptions, type TileflowStyleFontLoadOptions, type TileflowStyleStateValue, type TileflowStyleSwitchMap, type TileflowSun, type TileflowSunPreset, type TileflowSunRequest, type TileflowThemeBlendRequest, type TileflowThemeBlendState, type TileflowThemeChangeOptions, type TileflowThemeController, type TileflowThemeTransition, type TileflowThemeTransitionOptions, type TileflowThemeTransitionPhase, type TileflowThemeTransitionResult, type TileflowTile, type TileflowTileAddress, type TileflowTileAreaRequest, type TileflowTileFeature, type TileflowTileGeometryType, type TileflowTileLayer, type TileflowTileReader, type TileflowTileReaderOptions, type TileflowTileRequestTransform, type TileflowTileSourceMap, type TileflowTransformRequest, type TileflowTransformRequestParameters, type TileflowTreeFields, type TileflowTreeForm, type TileflowTreeFormMix, type TileflowTreeFormRange, type TileflowTreeLayers, type TileflowTreePlacement, type TileflowTreePlacementOptions, type TileflowTreeRange, type TileflowTreeRegion, type TileflowTrees3D, type TileflowTrees3DChange, type TileflowTrees3DMap, type TileflowTrees3DOptions, type TileflowTrees3DThemes, type TileflowUserTransformRequest, type TileflowVectorTileDecodeOptions, type TileflowVegetation3D, type TileflowVegetationController, type TileflowVegetationDisplay, type TileflowVegetationOptions, type TileflowVegetationRepresentation, type TileflowViewMode, type TileflowWorldProtocolHandler, type TileflowWorldProtocolRequest, type TileflowWorldProtocolResponse, type TileflowWorldRequestBridge, attachTileflowAtmosphere, attachTileflowFairUseNotice, attachTileflowMapLifecycle, attachTileflowNotices, createBoundaryFeatureState, createTileflowBuildings3D, createTileflowDepthMarkers, createTileflowGroundLayers, createTileflowLineProgress, createTileflowSessionStarter, createTileflowStreetLights, createTileflowThemeController, createTileflowTileReader, createTileflowTransformRequest, createTileflowTrees3D, createTileflowVegetation, decodeTileflowVectorTile, getTileflowSystemColorScheme, loadTileflowStyleFonts, meshTileflowBuildings, mixTileflowRouteInks, mixTileflowSunPresets, placeTileflowStreetLights, placeTileflowTrees, playTileflowShot, readTileflowBuildings3D, readTileflowMapTileSource, readTileflowNotices, readTileflowRouteInks, readTileflowStreetLights, readTileflowSunPreset, readTileflowTeamModelName, readTileflowVegetation3D, readTileflowVegetationDisplay, registerTileflowContourProtocol, registerTileflowPmtilesProtocol, registerTileflowWorldRequestBridge, resolveTileflowSun, resolveTileflowVegetationRepresentation, subscribeTileflowSystemColorScheme, tileflowBuildingExtent, tileflowBuildingModelPlacementLimit, tileflowBuildingVertexBytes, tileflowBuildings3DLayerId, tileflowBuildingsMetadataKey, tileflowDefaultRouteInks, tileflowDefaultSunPreset, tileflowDepthMarkerPlacement, tileflowFairUseNoticeMessage, tileflowGroundBeforeId, tileflowLayerDomainMetadataKey, tileflowLineProgressGradient, tileflowMaplibreContourVersion, tileflowNoticeLimits, tileflowNoticesMetadataKey, tileflowPmtilesMaximumDirectoryDepth, tileflowPmtilesProtocol, tileflowRouteMetadataKey, tileflowShotStateAt, tileflowStreetLightBytes, tileflowStreetLightsLayerId, tileflowStreetLightsMetadataKey, tileflowStyleRouteInks, tileflowStyleSunPreset, tileflowSunDirection, tileflowSunLightMatrix, tileflowSunMetadataKey, tileflowSunPosition, tileflowTeamModelUrl, tileflowTilePointToLngLat, tileflowTilesForBounds, tileflowTreeBytes, tileflowTreeFormOf, tileflowTreeForms, tileflowTrees3DLayerId, tileflowVegetationDisplayMetadataKey, tileflowVegetationMetadataKey, validateTileflowBrowserThemeBlendSelection, validateTileflowEmphasis };
|