@tileflow/core 0.1.0-alpha.34 → 0.1.0-alpha.36
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 +24 -23
- package/THIRD_PARTY_NOTICES.md +100 -6
- package/dist/browser.d.ts +758 -388
- package/dist/browser.js +4598 -1169
- package/dist/build.d.ts +9 -5
- package/dist/build.js +2892 -1410
- package/dist/capture.js +1 -0
- package/dist/config-reference.json +3780 -2153
- package/dist/{icon-composition-DqoZWQuz.d.ts → icon-composition-sN3JkXdb.d.ts} +380 -96
- package/dist/index.d.ts +426 -13
- package/dist/index.js +4999 -1841
- package/dist/{manifest-types-hmzy2bBX.d.ts → manifest-types-jrBdBrES.d.ts} +71 -9
- package/dist/manifest.d.ts +2 -2
- package/dist/manifest.js +80 -2
- package/dist/native-profile.js +1 -0
- package/dist/native.d.ts +13 -3
- package/dist/native.js +714 -318
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +124 -6
- package/dist/worker/buildings-3d-worker.global.js +1 -0
- package/docs/authoring-model.md +12 -3
- package/docs/boundary-areas-and-choropleths.md +217 -0
- package/docs/buildings-3d.md +264 -34
- package/docs/cartographic-defaults.md +142 -0
- package/docs/compiled-style-performance.md +14 -3
- package/docs/data-is-separate-from-design.md +191 -7
- package/docs/hosted-session-authorization.md +2 -4
- package/docs/map-and-terrain-examples.md +10 -3
- package/docs/native-artifact-profile.md +5 -0
- package/docs/native-resource-urls.md +5 -3
- package/docs/street-lights.md +22 -6
- package/docs/sun-and-light.md +42 -2
- package/docs/theme-transitions-and-blends.md +50 -0
- package/docs/themes-and-module-styles.md +66 -0
- package/docs/trees-3d.md +85 -13
- package/package.json +5 -4
package/dist/build.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { T as TileflowCaptureScene, a as TileflowCaptureShot } from './capture-shot-ChPQvPyi.js';
|
|
2
|
-
import { T as TileflowRenderedIconIdentity, a as TileflowIconCompositionV1, R as ResolvedTileflowMap, b as TileflowDataRequirementsV1, c as TileflowSourceRequirementsV1, d as TileflowMap, e as TileflowStyleOptions, f as TileflowInspectedStyle, g as TileflowPreparedMapAssets } from './icon-composition-
|
|
3
|
-
export { h as TileflowDataCompatibilityIssue, i as TileflowDataFieldRequirement, j as TileflowDataFieldType, k as TileflowDataLayerRequirement, l as TileflowObservedDataContractV1, m as TileflowStyleInspection, n as TileflowStyleInspectionContribution, o as TileflowStyleInspectionLayer, p as TileflowStyleInspectionRenderOperation, q as collectMapLineage, r as inferTileflowDataRequirements, s as inferTileflowSourceRequirements, t as tileflowStyleInspectionSchemaVersion, v as validateTileflowDataCompatibility } from './icon-composition-
|
|
4
|
-
import { M as MapLibreStyle, T as TileflowRuntimeManifest } from './manifest-types-
|
|
2
|
+
import { T as TileflowRenderedIconIdentity, a as TileflowIconCompositionV1, R as ResolvedTileflowMap, b as TileflowDataRequirementsV1, c as TileflowSourceRequirementsV1, d as TileflowMap, e as TileflowStyleOptions, f as TileflowInspectedStyle, g as TileflowPreparedMapAssets } from './icon-composition-sN3JkXdb.js';
|
|
3
|
+
export { h as TileflowDataCompatibilityIssue, i as TileflowDataFieldRequirement, j as TileflowDataFieldType, k as TileflowDataLayerRequirement, l as TileflowObservedDataContractV1, m as TileflowStyleInspection, n as TileflowStyleInspectionContribution, o as TileflowStyleInspectionLayer, p as TileflowStyleInspectionRenderOperation, q as collectMapLineage, r as inferTileflowDataRequirements, s as inferTileflowSourceRequirements, t as tileflowStyleInspectionSchemaVersion, v as validateTileflowDataCompatibility } from './icon-composition-sN3JkXdb.js';
|
|
4
|
+
import { M as MapLibreStyle, f as TileflowTimeOfDayVariants, T as TileflowRuntimeManifest } from './manifest-types-jrBdBrES.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
|
|
7
7
|
declare const tileflowMapRevisionSchemaVersion: 1;
|
|
@@ -23,10 +23,10 @@ type TileflowEffectiveFontSourceIdentity = {
|
|
|
23
23
|
style: 'italic' | 'normal' | 'oblique';
|
|
24
24
|
weight: '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
25
25
|
};
|
|
26
|
-
/** One effective 3D model file a map declares, near or far. */
|
|
26
|
+
/** One effective 3D model file a map declares: a level of detail, near, mid or far. */
|
|
27
27
|
type TileflowEffectiveModelSourceIdentity = {
|
|
28
28
|
id: string;
|
|
29
|
-
level: 'far' | 'near';
|
|
29
|
+
level: 'far' | 'mid' | 'near';
|
|
30
30
|
sha256: string;
|
|
31
31
|
};
|
|
32
32
|
type TileflowEffectiveMapSourceAssets = {
|
|
@@ -87,6 +87,7 @@ type TileflowMapBuildManifestEntryV1 = {
|
|
|
87
87
|
dark: string;
|
|
88
88
|
light: string;
|
|
89
89
|
};
|
|
90
|
+
timeOfDay?: TileflowTimeOfDayVariants;
|
|
90
91
|
themes: Record<string, TileflowThemeBuildManifestEntryV1>;
|
|
91
92
|
};
|
|
92
93
|
/**
|
|
@@ -306,6 +307,7 @@ declare const tileflowRendererDeploymentArtifactSchema: z.ZodObject<{
|
|
|
306
307
|
themeId: z.ZodString;
|
|
307
308
|
themeVersion: z.ZodNumber;
|
|
308
309
|
}, z.core.$strict>>;
|
|
310
|
+
timeOfDay: z.ZodOptional<z.ZodType<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown, z.core.$ZodTypeInternals<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown>>>;
|
|
309
311
|
}, z.core.$strict>>;
|
|
310
312
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
311
313
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -464,6 +466,7 @@ declare const tileflowRendererDeploymentArtifactSchema: z.ZodObject<{
|
|
|
464
466
|
themeId: z.ZodString;
|
|
465
467
|
themeVersion: z.ZodNumber;
|
|
466
468
|
}, z.core.$strict>>;
|
|
469
|
+
timeOfDay: z.ZodOptional<z.ZodType<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown, z.core.$ZodTypeInternals<Readonly<Record<string, Readonly<Partial<Record<"dawn" | "day" | "dusk" | "night", string>>>>>, unknown>>>;
|
|
467
470
|
}, z.core.$strict>>;
|
|
468
471
|
provenance: z.ZodOptional<z.ZodObject<{
|
|
469
472
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -585,6 +588,7 @@ declare function createStylesFromCatalogWithInspection(catalog: TileflowBuildCat
|
|
|
585
588
|
}): TileflowBuildInspectedStyles;
|
|
586
589
|
declare function createManifest(catalog: TileflowBuildCatalog, options?: {
|
|
587
590
|
styleBaseUrl?: string;
|
|
591
|
+
manifestVersion?: 1 | 2;
|
|
588
592
|
}): TileflowRuntimeManifest;
|
|
589
593
|
|
|
590
594
|
export { type TileflowBuildAssetIdentity, type TileflowBuildCatalog, type TileflowBuildInspectedStyles, type TileflowBuildStyles, type TileflowCompiledMapMetadata, TileflowDataRequirementsV1, type TileflowEffectiveFontSourceIdentity, type TileflowEffectiveIconSourceIdentity, type TileflowEffectiveMapSourceAssets, type TileflowEffectiveModelSourceIdentity, type TileflowHashableBuildAsset, TileflowInspectedStyle, type TileflowMapBuildInput, type TileflowMapBuildLineageEntry, type TileflowMapBuildManifestEntryV1, type TileflowMapBuildManifestV1, type TileflowMapBuildProvenanceV1, TileflowPreparedMapAssets, type TileflowRendererDeploymentArtifact, TileflowRendererDeploymentError, type TileflowRendererDeploymentResponse, TileflowSourceRequirementsV1, type TileflowThemeBuildManifestEntryV1, collectTileflowMapBuildLineage, createManifest, createStyleFromCatalog, createStyleFromCatalogWithInspection, createStyleWithInspection, createStylesFromCatalog, createStylesFromCatalogWithInspection, createTileflowMapBuildManifest, hashTileflowAssetSet, hashTileflowAssetSetIdentities, hashTileflowMapRevision, parseTileflowRendererDeploymentArtifact, tileflowMapBuildManifestFileName, tileflowMapBuildManifestSchemaVersion, tileflowMapRevisionCanonicalization, tileflowMapRevisionSchemaVersion, tileflowRendererDeploymentArtifactSchema, tileflowRendererDeploymentLimits, tileflowRendererDeploymentResponseSchema, tileflowSharedIconMapRevisionSchemaVersion };
|