@tileflow/core 0.1.0-alpha.16 → 0.1.0-alpha.18
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 +34 -2
- package/dist/browser.d.ts +77 -0
- package/dist/browser.js +337 -0
- package/dist/index.d.ts +3 -654
- package/dist/index.js +248 -6
- package/dist/runtime-Bg--GMWM.d.ts +680 -0
- package/package.json +8 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,550 +1,7 @@
|
|
|
1
|
+
import { b as TileflowConfig, c as TileflowProjectConfig, V as ValidationResult, d as TileflowOsmBasemapOptions, e as TileflowOsmBasemapConfig, f as TileflowRoadsModuleOptions, g as TileflowRoadsModuleConfig, h as TileflowLabelsModuleOptions, i as TileflowLabelsModuleConfig, j as TileflowPoiModuleOptions, k as TileflowPoiModuleConfig, l as TileflowStyleOverrideOptions, m as TileflowStyleOverrideModuleConfig } from './runtime-Bg--GMWM.js';
|
|
2
|
+
export { M as MapLibreSprite, n as MapLibreStyle, N as NormalizedTileflowCaptureScene, R as ResolvedTileflowTypography, o as TileflowAdvancedColorConfig, T as TileflowAnalytics, p as TileflowBaseColors, q as TileflowBasemapConfig, r as TileflowBoundaryColorConfig, s as TileflowBuildingColorConfig, t as TileflowBuildingStyleConfig, u as TileflowBuildings, v as TileflowCaptureApplicationTarget, w as TileflowCaptureBoundsCamera, x as TileflowCaptureCamera, y as TileflowCaptureCenterCamera, z as TileflowCaptureMapTarget, A as TileflowCaptureScene, B as TileflowCaptureTarget, C as TileflowCaptureViewport, D as TileflowColor, E as TileflowColorConfig, F as TileflowColors, G as TileflowDensity, H as TileflowFontWeight, I as TileflowFonts, J as TileflowHostedNotoSansWeight, K as TileflowHydroColorConfig, L as TileflowIconSet, O as TileflowIconSetConfig, P as TileflowLabelColorConfig, Q as TileflowLabelDetail, S as TileflowLabelLanguage, U as TileflowLabels, W as TileflowLandcoverColorConfig, X as TileflowLanduseColorConfig, Y as TileflowManifest, Z as TileflowManifestLoadOptions, _ as TileflowMapConfig, $ as TileflowMapMarker, a0 as TileflowMapMode, a1 as TileflowMapModeOptions, a2 as TileflowModuleConfig, a3 as TileflowPoi, a4 as TileflowPoiCategory, a5 as TileflowPoiClassMapping, a6 as TileflowPoiColorConfig, a7 as TileflowPoiColorMode, a8 as TileflowPoiDensity, a9 as TileflowPoiIcons, aa as TileflowPoiLabels, ab as TileflowProjectIconSets, ac as TileflowProjectThemes, ad as TileflowRenderer, ae as TileflowRoadClass, af as TileflowRoadColorConfig, ag as TileflowRoadDetail, ah as TileflowRoadExtras, ai as TileflowRoadHierarchy, aj as TileflowRoadLabelDetail, ak as TileflowRoadOutline, al as TileflowRoadWeight, am as TileflowRoads, an as TileflowRuntimeManifest, ao as TileflowRuntimeManifestMap, ap as TileflowRuntimeManifestMapEntry, aq as TileflowRuntimeStyle, ar as TileflowRuntimeStyleOptions, a as TileflowSessionController, as as TileflowSessionGrantResponse, at as TileflowSourceLayers, au as TileflowStyleLayerOverride, av as TileflowStyleOptions, aw as TileflowTerrain, ax as TileflowTerrainConfig, ay as TileflowTerrainEncoding, az as TileflowTerrainMode, aA as TileflowTheme, aB as TileflowThemeConfig, aC as TileflowThemeMode, aD as TileflowThemeModulesConfig, aE as TileflowThemeName, aF as TileflowTiles, aG as TileflowTilesetConfig, aH as TileflowTypography, aI as TileflowTypographyDomain, aJ as TileflowTypographyStyle, aK as TileflowViewConfig, aL as ValidationMessage, aM as createManifest, aN as createStyle, aO as createStyleFromProject, aP as createTileflowSessionController, aQ as createTileflowSessionId, aR as defaultTileflowManifestUrl, aS as defaultTileflowStyleBaseUrl, aT as getDefaultColors, aU as getDefaultTileflowStyleBaseUrl, aV as getTileflowAnalyticsApiUrl, aW as inferTileflowAnalyticsFromStyleUrl, aX as isTileflowLocalDevHost, aY as loadTileflowManifest, aZ as mergeTileflowAnalytics, a_ as normalizeTileflowCaptureId, a$ as normalizeTileflowCaptureScene, b0 as normalizeTileflowStaticImageSize, b1 as normalizeTileflowUrl, b2 as resolveTileflowAnalyticsRequestUrl, b3 as resolveTileflowManifestMap, b4 as resolveTileflowMapMode, b5 as resolveTileflowRuntimeStyle, b6 as resolveTileflowStaticImageUrl, b7 as resolveTileflowStyleUrl, b8 as shouldLoadTileflowManifest, b9 as startTileflowSession, ba as tileflowCaptureApplicationTargetSchema, bb as tileflowCaptureBoundsCameraSchema, bc as tileflowCaptureCameraSchema, bd as tileflowCaptureCenterCameraSchema, be as tileflowCaptureIdSchema, bf as tileflowCaptureMapTargetSchema, bg as tileflowCaptureSceneLimits, bh as tileflowCaptureSceneNameSchema, bi as tileflowCaptureSceneSchema, bj as tileflowCaptureSceneSchemaVersion, bk as tileflowCaptureTargetSchema, bl as tileflowCaptureViewportSchema, bm as tileflowHostedNotoSansWeights } from './runtime-Bg--GMWM.js';
|
|
1
3
|
import { z } from 'zod';
|
|
2
4
|
|
|
3
|
-
declare const tileflowCaptureSceneSchemaVersion: 1;
|
|
4
|
-
declare const tileflowCaptureSceneLimits: Readonly<{
|
|
5
|
-
applicationPathLength: 2048;
|
|
6
|
-
boundsPadding: {
|
|
7
|
-
maximum: number;
|
|
8
|
-
minimum: number;
|
|
9
|
-
};
|
|
10
|
-
captureIdLength: 64;
|
|
11
|
-
maximumPhysicalPixels: 16777216;
|
|
12
|
-
pitch: {
|
|
13
|
-
maximum: number;
|
|
14
|
-
minimum: number;
|
|
15
|
-
};
|
|
16
|
-
selectorLength: 256;
|
|
17
|
-
viewport: {
|
|
18
|
-
maximum: number;
|
|
19
|
-
minimum: number;
|
|
20
|
-
};
|
|
21
|
-
zoom: {
|
|
22
|
-
maximum: number;
|
|
23
|
-
minimum: number;
|
|
24
|
-
};
|
|
25
|
-
}>;
|
|
26
|
-
declare const tileflowCaptureCenterCameraSchema: z.ZodObject<{
|
|
27
|
-
type: z.ZodLiteral<"center">;
|
|
28
|
-
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
29
|
-
zoom: z.ZodNumber;
|
|
30
|
-
bearing: z.ZodOptional<z.ZodNumber>;
|
|
31
|
-
pitch: z.ZodOptional<z.ZodNumber>;
|
|
32
|
-
}, z.core.$strict>;
|
|
33
|
-
declare const tileflowCaptureBoundsCameraSchema: z.ZodObject<{
|
|
34
|
-
type: z.ZodLiteral<"bounds">;
|
|
35
|
-
bounds: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
36
|
-
padding: z.ZodOptional<z.ZodNumber>;
|
|
37
|
-
bearing: z.ZodOptional<z.ZodNumber>;
|
|
38
|
-
pitch: z.ZodOptional<z.ZodNumber>;
|
|
39
|
-
}, z.core.$strict>;
|
|
40
|
-
declare const tileflowCaptureCameraSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
41
|
-
type: z.ZodLiteral<"center">;
|
|
42
|
-
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
43
|
-
zoom: z.ZodNumber;
|
|
44
|
-
bearing: z.ZodOptional<z.ZodNumber>;
|
|
45
|
-
pitch: z.ZodOptional<z.ZodNumber>;
|
|
46
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
47
|
-
type: z.ZodLiteral<"bounds">;
|
|
48
|
-
bounds: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
49
|
-
padding: z.ZodOptional<z.ZodNumber>;
|
|
50
|
-
bearing: z.ZodOptional<z.ZodNumber>;
|
|
51
|
-
pitch: z.ZodOptional<z.ZodNumber>;
|
|
52
|
-
}, z.core.$strict>], "type">;
|
|
53
|
-
declare const tileflowCaptureViewportSchema: z.ZodObject<{
|
|
54
|
-
width: z.ZodNumber;
|
|
55
|
-
height: z.ZodNumber;
|
|
56
|
-
dpr: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
57
|
-
}, z.core.$strict>;
|
|
58
|
-
declare const tileflowCaptureIdSchema: z.ZodString;
|
|
59
|
-
declare const tileflowCaptureSceneNameSchema: z.ZodString;
|
|
60
|
-
declare const tileflowCaptureMapTargetSchema: z.ZodObject<{
|
|
61
|
-
kind: z.ZodLiteral<"map">;
|
|
62
|
-
}, z.core.$strict>;
|
|
63
|
-
declare const tileflowCaptureApplicationTargetSchema: z.ZodObject<{
|
|
64
|
-
kind: z.ZodLiteral<"application">;
|
|
65
|
-
path: z.ZodString;
|
|
66
|
-
captureId: z.ZodOptional<z.ZodString>;
|
|
67
|
-
selector: z.ZodOptional<z.ZodString>;
|
|
68
|
-
frame: z.ZodOptional<z.ZodEnum<{
|
|
69
|
-
map: "map";
|
|
70
|
-
viewport: "viewport";
|
|
71
|
-
}>>;
|
|
72
|
-
}, z.core.$strict>;
|
|
73
|
-
declare const tileflowCaptureTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
74
|
-
kind: z.ZodLiteral<"map">;
|
|
75
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
76
|
-
kind: z.ZodLiteral<"application">;
|
|
77
|
-
path: z.ZodString;
|
|
78
|
-
captureId: z.ZodOptional<z.ZodString>;
|
|
79
|
-
selector: z.ZodOptional<z.ZodString>;
|
|
80
|
-
frame: z.ZodOptional<z.ZodEnum<{
|
|
81
|
-
map: "map";
|
|
82
|
-
viewport: "viewport";
|
|
83
|
-
}>>;
|
|
84
|
-
}, z.core.$strict>], "kind">;
|
|
85
|
-
declare const tileflowCaptureSceneSchema: z.ZodObject<{
|
|
86
|
-
map: z.ZodString;
|
|
87
|
-
camera: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
88
|
-
type: z.ZodLiteral<"center">;
|
|
89
|
-
center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
90
|
-
zoom: z.ZodNumber;
|
|
91
|
-
bearing: z.ZodOptional<z.ZodNumber>;
|
|
92
|
-
pitch: z.ZodOptional<z.ZodNumber>;
|
|
93
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
94
|
-
type: z.ZodLiteral<"bounds">;
|
|
95
|
-
bounds: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
96
|
-
padding: z.ZodOptional<z.ZodNumber>;
|
|
97
|
-
bearing: z.ZodOptional<z.ZodNumber>;
|
|
98
|
-
pitch: z.ZodOptional<z.ZodNumber>;
|
|
99
|
-
}, z.core.$strict>], "type">;
|
|
100
|
-
viewport: z.ZodObject<{
|
|
101
|
-
width: z.ZodNumber;
|
|
102
|
-
height: z.ZodNumber;
|
|
103
|
-
dpr: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
104
|
-
}, z.core.$strict>;
|
|
105
|
-
target: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
106
|
-
kind: z.ZodLiteral<"map">;
|
|
107
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
108
|
-
kind: z.ZodLiteral<"application">;
|
|
109
|
-
path: z.ZodString;
|
|
110
|
-
captureId: z.ZodOptional<z.ZodString>;
|
|
111
|
-
selector: z.ZodOptional<z.ZodString>;
|
|
112
|
-
frame: z.ZodOptional<z.ZodEnum<{
|
|
113
|
-
map: "map";
|
|
114
|
-
viewport: "viewport";
|
|
115
|
-
}>>;
|
|
116
|
-
}, z.core.$strict>], "kind">>;
|
|
117
|
-
}, z.core.$strict>;
|
|
118
|
-
type TileflowCaptureCenterCamera = z.infer<typeof tileflowCaptureCenterCameraSchema>;
|
|
119
|
-
type TileflowCaptureBoundsCamera = z.infer<typeof tileflowCaptureBoundsCameraSchema>;
|
|
120
|
-
type TileflowCaptureCamera = z.infer<typeof tileflowCaptureCameraSchema>;
|
|
121
|
-
type TileflowCaptureViewport = z.infer<typeof tileflowCaptureViewportSchema>;
|
|
122
|
-
type TileflowCaptureMapTarget = z.infer<typeof tileflowCaptureMapTargetSchema>;
|
|
123
|
-
type TileflowCaptureApplicationTarget = z.infer<typeof tileflowCaptureApplicationTargetSchema>;
|
|
124
|
-
type TileflowCaptureTarget = z.infer<typeof tileflowCaptureTargetSchema>;
|
|
125
|
-
type TileflowCaptureScene = z.infer<typeof tileflowCaptureSceneSchema>;
|
|
126
|
-
type NormalizedTileflowCaptureScene = {
|
|
127
|
-
map: string;
|
|
128
|
-
camera: {
|
|
129
|
-
type: 'center';
|
|
130
|
-
center: [number, number];
|
|
131
|
-
zoom: number;
|
|
132
|
-
bearing: number;
|
|
133
|
-
pitch: number;
|
|
134
|
-
} | {
|
|
135
|
-
type: 'bounds';
|
|
136
|
-
bounds: [number, number, number, number];
|
|
137
|
-
padding: number;
|
|
138
|
-
bearing: number;
|
|
139
|
-
pitch: number;
|
|
140
|
-
};
|
|
141
|
-
viewport: {
|
|
142
|
-
width: number;
|
|
143
|
-
height: number;
|
|
144
|
-
dpr: 1 | 2;
|
|
145
|
-
};
|
|
146
|
-
target: {
|
|
147
|
-
kind: 'map';
|
|
148
|
-
} | {
|
|
149
|
-
kind: 'application';
|
|
150
|
-
path: string;
|
|
151
|
-
captureId?: string;
|
|
152
|
-
selector?: string;
|
|
153
|
-
frame: 'map' | 'viewport';
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
declare function normalizeTileflowCaptureScene(input: TileflowCaptureScene): NormalizedTileflowCaptureScene;
|
|
157
|
-
declare function normalizeTileflowCaptureId(value: string | undefined): string | undefined;
|
|
158
|
-
|
|
159
|
-
type TileflowDensity = 'clean' | 'balanced' | 'dense';
|
|
160
|
-
type TileflowRoads = 'hidden' | 'soft' | 'standard' | 'detailed';
|
|
161
|
-
type TileflowLabels = 'none' | 'essential' | 'balanced' | 'full';
|
|
162
|
-
type TileflowPoi = 'none' | 'minimal' | 'balanced' | 'full';
|
|
163
|
-
type TileflowLabelDetail = 'none' | 'major' | 'all';
|
|
164
|
-
type TileflowRoadLabelDetail = TileflowRoadDetail;
|
|
165
|
-
type TileflowLabelLanguage = 'auto' | 'local' | 'en' | (string & {});
|
|
166
|
-
type TileflowPoiCategory = 'food' | 'coffee' | 'culture' | 'transit' | 'shopping' | 'lodging' | 'health' | 'education' | 'services' | (string & {});
|
|
167
|
-
type TileflowPoiIcons = boolean | 'essential' | 'full';
|
|
168
|
-
type TileflowPoiLabels = 'none' | 'minimal' | 'balanced' | 'full';
|
|
169
|
-
type TileflowPoiDensity = 'sparse' | 'balanced' | 'dense';
|
|
170
|
-
type TileflowPoiColorMode = 'uniform' | 'category';
|
|
171
|
-
type TileflowPoiClassMapping = Record<string, readonly string[]>;
|
|
172
|
-
type TileflowTheme = 'standard' | 'light' | 'dark' | 'minimal' | 'osm-bright-2';
|
|
173
|
-
type TileflowBuildings = 'hidden' | 'flat' | '3d';
|
|
174
|
-
type TileflowTerrainMode = 'none' | 'hillshade' | '3d';
|
|
175
|
-
type TileflowTerrainEncoding = 'mapbox' | 'terrarium';
|
|
176
|
-
type TileflowRenderer = 'auto' | 'osm-bright' | 'generated';
|
|
177
|
-
type TileflowThemeName = string;
|
|
178
|
-
type TileflowThemeMode = 'light' | 'dark';
|
|
179
|
-
type TileflowColor = `#${string}`;
|
|
180
|
-
type TileflowBaseColors = {
|
|
181
|
-
background: TileflowColor;
|
|
182
|
-
land: TileflowColor;
|
|
183
|
-
water: TileflowColor;
|
|
184
|
-
park: TileflowColor;
|
|
185
|
-
building: TileflowColor;
|
|
186
|
-
road: TileflowColor;
|
|
187
|
-
roadMajor: TileflowColor;
|
|
188
|
-
boundary: TileflowColor;
|
|
189
|
-
text: TileflowColor;
|
|
190
|
-
textMuted: TileflowColor;
|
|
191
|
-
textHalo: TileflowColor;
|
|
192
|
-
};
|
|
193
|
-
type LegacyTileflowColorAliases = {
|
|
194
|
-
accent?: TileflowColor;
|
|
195
|
-
canvas?: TileflowColor;
|
|
196
|
-
background?: TileflowColor;
|
|
197
|
-
greenspace?: TileflowColor;
|
|
198
|
-
nature?: TileflowColor;
|
|
199
|
-
park?: TileflowColor;
|
|
200
|
-
roadCasing?: TileflowColor;
|
|
201
|
-
};
|
|
202
|
-
type TileflowRoadColorConfig = {
|
|
203
|
-
bridge?: TileflowColor;
|
|
204
|
-
casing?: TileflowColor;
|
|
205
|
-
ferry?: TileflowColor;
|
|
206
|
-
minor?: TileflowColor;
|
|
207
|
-
motorway?: TileflowColor;
|
|
208
|
-
path?: TileflowColor;
|
|
209
|
-
primary?: TileflowColor;
|
|
210
|
-
rail?: TileflowColor;
|
|
211
|
-
secondary?: TileflowColor;
|
|
212
|
-
trunk?: TileflowColor;
|
|
213
|
-
tunnel?: TileflowColor;
|
|
214
|
-
};
|
|
215
|
-
type TileflowLabelColorConfig = {
|
|
216
|
-
country?: TileflowColor;
|
|
217
|
-
halo?: TileflowColor;
|
|
218
|
-
muted?: TileflowColor;
|
|
219
|
-
neighborhood?: TileflowColor;
|
|
220
|
-
poi?: TileflowColor;
|
|
221
|
-
primary?: TileflowColor;
|
|
222
|
-
road?: TileflowColor;
|
|
223
|
-
settlement?: TileflowColor;
|
|
224
|
-
water?: TileflowColor;
|
|
225
|
-
};
|
|
226
|
-
type TileflowPoiColorConfig = {
|
|
227
|
-
coffee?: TileflowColor;
|
|
228
|
-
culture?: TileflowColor;
|
|
229
|
-
education?: TileflowColor;
|
|
230
|
-
food?: TileflowColor;
|
|
231
|
-
halo?: TileflowColor;
|
|
232
|
-
health?: TileflowColor;
|
|
233
|
-
icon?: TileflowColor;
|
|
234
|
-
label?: TileflowColor;
|
|
235
|
-
lodging?: TileflowColor;
|
|
236
|
-
services?: TileflowColor;
|
|
237
|
-
shopping?: TileflowColor;
|
|
238
|
-
transit?: TileflowColor;
|
|
239
|
-
};
|
|
240
|
-
type TileflowLanduseColorConfig = {
|
|
241
|
-
cemetery?: TileflowColor;
|
|
242
|
-
civic?: TileflowColor;
|
|
243
|
-
commercial?: TileflowColor;
|
|
244
|
-
industrial?: TileflowColor;
|
|
245
|
-
residential?: TileflowColor;
|
|
246
|
-
};
|
|
247
|
-
type TileflowLandcoverColorConfig = {
|
|
248
|
-
grass?: TileflowColor;
|
|
249
|
-
ice?: TileflowColor;
|
|
250
|
-
park?: TileflowColor;
|
|
251
|
-
protected?: TileflowColor;
|
|
252
|
-
sand?: TileflowColor;
|
|
253
|
-
wood?: TileflowColor;
|
|
254
|
-
};
|
|
255
|
-
type TileflowHydroColorConfig = {
|
|
256
|
-
ferry?: TileflowColor;
|
|
257
|
-
label?: TileflowColor;
|
|
258
|
-
water?: TileflowColor;
|
|
259
|
-
waterway?: TileflowColor;
|
|
260
|
-
};
|
|
261
|
-
type TileflowBuildingColorConfig = {
|
|
262
|
-
extrusion?: TileflowColor;
|
|
263
|
-
fill?: TileflowColor;
|
|
264
|
-
highRise?: TileflowColor;
|
|
265
|
-
highRiseOutline?: TileflowColor;
|
|
266
|
-
lowRise?: TileflowColor;
|
|
267
|
-
lowRiseOutline?: TileflowColor;
|
|
268
|
-
outline?: TileflowColor;
|
|
269
|
-
};
|
|
270
|
-
type TileflowBuildingStyleConfig = {
|
|
271
|
-
fillOpacity?: number;
|
|
272
|
-
heightThreshold?: number;
|
|
273
|
-
outlineOpacity?: number;
|
|
274
|
-
outlineWidth?: number;
|
|
275
|
-
};
|
|
276
|
-
type TileflowBoundaryColorConfig = {
|
|
277
|
-
admin?: TileflowColor;
|
|
278
|
-
disputed?: TileflowColor;
|
|
279
|
-
major?: TileflowColor;
|
|
280
|
-
maritime?: TileflowColor;
|
|
281
|
-
};
|
|
282
|
-
type TileflowAdvancedColorConfig = {
|
|
283
|
-
boundaries?: TileflowBoundaryColorConfig;
|
|
284
|
-
buildings?: TileflowBuildingColorConfig;
|
|
285
|
-
hydro?: TileflowHydroColorConfig;
|
|
286
|
-
labels?: TileflowLabelColorConfig;
|
|
287
|
-
landcover?: TileflowLandcoverColorConfig;
|
|
288
|
-
landuse?: TileflowLanduseColorConfig;
|
|
289
|
-
poi?: TileflowPoiColorConfig;
|
|
290
|
-
roads?: TileflowRoadColorConfig;
|
|
291
|
-
};
|
|
292
|
-
type TileflowThemeModulesConfig = TileflowAdvancedColorConfig;
|
|
293
|
-
type TileflowColorConfig = Partial<TileflowBaseColors> & LegacyTileflowColorAliases & TileflowAdvancedColorConfig;
|
|
294
|
-
type TileflowColors = {
|
|
295
|
-
[K in keyof TileflowBaseColors]: string;
|
|
296
|
-
} & {
|
|
297
|
-
canvas: string;
|
|
298
|
-
greenspace: string;
|
|
299
|
-
nature: string;
|
|
300
|
-
};
|
|
301
|
-
type TileflowFontWeight = 'regular' | 'medium' | 'semibold' | 'bold';
|
|
302
|
-
declare const tileflowHostedNotoSansWeights: readonly ["regular", "bold"];
|
|
303
|
-
type TileflowHostedNotoSansWeight = (typeof tileflowHostedNotoSansWeights)[number];
|
|
304
|
-
type TileflowTypographyStyle = {
|
|
305
|
-
font?: string;
|
|
306
|
-
fontFamily?: string;
|
|
307
|
-
weight?: TileflowFontWeight;
|
|
308
|
-
};
|
|
309
|
-
type TileflowTypographyDomain = 'places' | 'roads' | 'water' | 'poi';
|
|
310
|
-
type TileflowTypography = TileflowTypographyStyle & {
|
|
311
|
-
places?: TileflowTypographyStyle;
|
|
312
|
-
roads?: TileflowTypographyStyle;
|
|
313
|
-
water?: TileflowTypographyStyle;
|
|
314
|
-
poi?: TileflowTypographyStyle;
|
|
315
|
-
};
|
|
316
|
-
type ResolvedTileflowTypography = Required<TileflowTypographyStyle> & {
|
|
317
|
-
places: Required<TileflowTypographyStyle>;
|
|
318
|
-
roads: Required<TileflowTypographyStyle>;
|
|
319
|
-
water: Required<TileflowTypographyStyle>;
|
|
320
|
-
poi: Required<TileflowTypographyStyle>;
|
|
321
|
-
};
|
|
322
|
-
type TileflowFonts = {
|
|
323
|
-
body?: string;
|
|
324
|
-
labels?: string;
|
|
325
|
-
};
|
|
326
|
-
type TileflowThemeConfig = {
|
|
327
|
-
colors?: TileflowColorConfig;
|
|
328
|
-
extends?: string;
|
|
329
|
-
fonts?: TileflowFonts;
|
|
330
|
-
layers?: Record<string, TileflowStyleLayerOverride>;
|
|
331
|
-
mode?: TileflowThemeMode;
|
|
332
|
-
modules?: TileflowThemeModulesConfig;
|
|
333
|
-
typography?: TileflowTypography;
|
|
334
|
-
};
|
|
335
|
-
type TileflowSourceLayers = {
|
|
336
|
-
landcover?: string;
|
|
337
|
-
landuse?: string;
|
|
338
|
-
park?: string;
|
|
339
|
-
water?: string;
|
|
340
|
-
waterName?: string;
|
|
341
|
-
waterway?: string;
|
|
342
|
-
road?: string;
|
|
343
|
-
roadName?: string;
|
|
344
|
-
building?: string;
|
|
345
|
-
boundary?: string;
|
|
346
|
-
place?: string;
|
|
347
|
-
poi?: string;
|
|
348
|
-
};
|
|
349
|
-
type TileflowTiles = {
|
|
350
|
-
sourceId?: string;
|
|
351
|
-
tileset?: string;
|
|
352
|
-
url?: string;
|
|
353
|
-
attribution?: string;
|
|
354
|
-
sourceLayers?: TileflowSourceLayers;
|
|
355
|
-
version?: string;
|
|
356
|
-
};
|
|
357
|
-
type TileflowTerrainConfig = {
|
|
358
|
-
attribution?: string;
|
|
359
|
-
encoding?: TileflowTerrainEncoding;
|
|
360
|
-
exaggeration?: number;
|
|
361
|
-
mode?: TileflowTerrainMode;
|
|
362
|
-
sourceId?: string;
|
|
363
|
-
tileset?: string;
|
|
364
|
-
url?: string;
|
|
365
|
-
};
|
|
366
|
-
type TileflowTerrain = TileflowTerrainMode | TileflowTerrainConfig;
|
|
367
|
-
type TileflowViewConfig = {
|
|
368
|
-
bearing?: number;
|
|
369
|
-
center?: readonly [number, number];
|
|
370
|
-
zoom?: number;
|
|
371
|
-
};
|
|
372
|
-
type TileflowOsmBasemapConfig = {
|
|
373
|
-
type: 'osm';
|
|
374
|
-
attribution?: string;
|
|
375
|
-
glyphs?: string;
|
|
376
|
-
sourceId?: string;
|
|
377
|
-
sourceLayers?: TileflowSourceLayers;
|
|
378
|
-
sprite?: string;
|
|
379
|
-
tileset?: string;
|
|
380
|
-
url?: string;
|
|
381
|
-
version?: string;
|
|
382
|
-
};
|
|
383
|
-
type TileflowBasemapConfig = TileflowOsmBasemapConfig;
|
|
384
|
-
type TileflowOsmBasemapOptions = Omit<TileflowOsmBasemapConfig, 'type'>;
|
|
385
|
-
type TileflowRoadDetail = 'none' | 'highways' | 'major' | 'streets' | 'all';
|
|
386
|
-
type TileflowRoadClass = 'motorway' | 'trunk' | 'primary' | 'secondary' | 'tertiary' | 'minor' | 'service' | 'track' | 'path';
|
|
387
|
-
type TileflowRoadHierarchy = 'subtle' | 'clear' | 'strong';
|
|
388
|
-
type TileflowRoadWeight = 'thin' | 'regular' | 'bold';
|
|
389
|
-
type TileflowRoadOutline = 'none' | 'subtle' | 'strong';
|
|
390
|
-
type TileflowRoadExtras = {
|
|
391
|
-
ferry?: boolean;
|
|
392
|
-
paths?: boolean;
|
|
393
|
-
rail?: boolean;
|
|
394
|
-
};
|
|
395
|
-
type TileflowRoadsModuleConfig = {
|
|
396
|
-
type: 'roads';
|
|
397
|
-
detail?: TileflowRoadDetail;
|
|
398
|
-
extras?: TileflowRoadExtras;
|
|
399
|
-
hierarchy?: TileflowRoadHierarchy;
|
|
400
|
-
oneWayMarkers?: boolean;
|
|
401
|
-
outline?: TileflowRoadOutline;
|
|
402
|
-
weight?: TileflowRoadWeight;
|
|
403
|
-
widthScale?: Partial<Record<TileflowRoadClass, number>>;
|
|
404
|
-
};
|
|
405
|
-
type TileflowRoadsModuleOptions = Omit<TileflowRoadsModuleConfig, 'type'>;
|
|
406
|
-
type TileflowLabelsModuleConfig = {
|
|
407
|
-
type: 'labels';
|
|
408
|
-
language?: TileflowLabelLanguage;
|
|
409
|
-
places?: TileflowLabelDetail;
|
|
410
|
-
roadClasses?: readonly TileflowRoadClass[];
|
|
411
|
-
roads?: TileflowRoadLabelDetail;
|
|
412
|
-
water?: TileflowLabelDetail;
|
|
413
|
-
};
|
|
414
|
-
type TileflowLabelsModuleOptions = Omit<TileflowLabelsModuleConfig, 'type'>;
|
|
415
|
-
type TileflowPoiModuleConfig = {
|
|
416
|
-
type: 'poi';
|
|
417
|
-
categories?: readonly TileflowPoiCategory[];
|
|
418
|
-
classMapping?: TileflowPoiClassMapping;
|
|
419
|
-
color?: TileflowPoiColorMode;
|
|
420
|
-
density?: TileflowPoiDensity;
|
|
421
|
-
icons?: TileflowPoiIcons;
|
|
422
|
-
labels?: TileflowPoiLabels;
|
|
423
|
-
minZoom?: number;
|
|
424
|
-
placement?: {
|
|
425
|
-
coupleIconAndLabel?: boolean;
|
|
426
|
-
iconPadding?: number;
|
|
427
|
-
textPadding?: number;
|
|
428
|
-
};
|
|
429
|
-
preset?: TileflowPoi;
|
|
430
|
-
};
|
|
431
|
-
type TileflowPoiModuleOptions = Omit<TileflowPoiModuleConfig, 'type'>;
|
|
432
|
-
type TileflowIconSetConfig = {
|
|
433
|
-
extends?: string;
|
|
434
|
-
mapping?: Record<string, string>;
|
|
435
|
-
source?: string;
|
|
436
|
-
sprite?: string;
|
|
437
|
-
};
|
|
438
|
-
type TileflowIconSet = string | TileflowIconSetConfig;
|
|
439
|
-
type TileflowProjectIconSets = Record<string, TileflowIconSet>;
|
|
440
|
-
type MapLibreSprite = string | Array<{
|
|
441
|
-
id: string;
|
|
442
|
-
url: string;
|
|
443
|
-
}>;
|
|
444
|
-
type TileflowStyleLayerOverride = Record<string, unknown> & {
|
|
445
|
-
before?: string;
|
|
446
|
-
filter?: unknown;
|
|
447
|
-
layout?: Record<string, unknown>;
|
|
448
|
-
maxzoom?: number;
|
|
449
|
-
metadata?: Record<string, unknown>;
|
|
450
|
-
minzoom?: number;
|
|
451
|
-
paint?: Record<string, unknown>;
|
|
452
|
-
source?: string;
|
|
453
|
-
'source-layer'?: string;
|
|
454
|
-
type?: string;
|
|
455
|
-
};
|
|
456
|
-
type TileflowStyleOverrideModuleConfig = {
|
|
457
|
-
type: 'styleOverride';
|
|
458
|
-
layers?: Record<string, TileflowStyleLayerOverride>;
|
|
459
|
-
removeLayers?: string[];
|
|
460
|
-
};
|
|
461
|
-
type TileflowStyleOverrideOptions = Omit<TileflowStyleOverrideModuleConfig, 'type'>;
|
|
462
|
-
type TileflowModuleConfig = TileflowLabelsModuleConfig | TileflowPoiModuleConfig | TileflowRoadsModuleConfig | TileflowStyleOverrideModuleConfig;
|
|
463
|
-
type TileflowConfig = {
|
|
464
|
-
basemap?: TileflowBasemapConfig;
|
|
465
|
-
name?: string;
|
|
466
|
-
tileset?: string;
|
|
467
|
-
theme?: TileflowTheme | string | TileflowThemeConfig;
|
|
468
|
-
modules?: readonly TileflowModuleConfig[];
|
|
469
|
-
layers?: Record<string, TileflowStyleLayerOverride>;
|
|
470
|
-
colors?: TileflowColorConfig;
|
|
471
|
-
typography?: TileflowTypography;
|
|
472
|
-
density?: TileflowDensity;
|
|
473
|
-
roads?: TileflowRoads;
|
|
474
|
-
labels?: TileflowLabels;
|
|
475
|
-
poi?: TileflowPoi;
|
|
476
|
-
buildings?: TileflowBuildings;
|
|
477
|
-
buildingStyle?: TileflowBuildingStyleConfig;
|
|
478
|
-
terrain?: TileflowTerrain;
|
|
479
|
-
renderer?: TileflowRenderer;
|
|
480
|
-
glyphs?: string;
|
|
481
|
-
icons?: TileflowIconSet;
|
|
482
|
-
sprite?: string;
|
|
483
|
-
tiles?: TileflowTiles;
|
|
484
|
-
view?: TileflowViewConfig;
|
|
485
|
-
/**
|
|
486
|
-
* Domains allowed to load this map in production (e.g. "example.com" or
|
|
487
|
-
* "*.example.com"). When set, tile and session requests from other
|
|
488
|
-
* websites are rejected. Local development (localhost, private network
|
|
489
|
-
* addresses) is always allowed. Leave unset to allow any domain.
|
|
490
|
-
*/
|
|
491
|
-
allowedOrigins?: string[];
|
|
492
|
-
};
|
|
493
|
-
type TileflowMapConfig = TileflowConfig;
|
|
494
|
-
type TileflowTilesetConfig = {
|
|
495
|
-
id?: string;
|
|
496
|
-
name?: string;
|
|
497
|
-
attribution?: string;
|
|
498
|
-
sourceLayers?: TileflowSourceLayers;
|
|
499
|
-
version?: string;
|
|
500
|
-
};
|
|
501
|
-
type TileflowProjectThemes = Record<TileflowThemeName, TileflowThemeConfig>;
|
|
502
|
-
type TileflowProjectConfig = {
|
|
503
|
-
icons?: TileflowProjectIconSets;
|
|
504
|
-
scenes?: Record<string, TileflowCaptureScene>;
|
|
505
|
-
themes?: TileflowProjectThemes;
|
|
506
|
-
tilesets?: Record<string, TileflowTilesetConfig>;
|
|
507
|
-
maps: Record<string, TileflowMapConfig>;
|
|
508
|
-
};
|
|
509
|
-
type TileflowStyleOptions = {
|
|
510
|
-
iconSets?: TileflowProjectIconSets;
|
|
511
|
-
themes?: TileflowProjectThemes;
|
|
512
|
-
tileBaseUrl?: string;
|
|
513
|
-
tileset?: string;
|
|
514
|
-
};
|
|
515
|
-
type TileflowManifest = {
|
|
516
|
-
version: 1;
|
|
517
|
-
tileBaseUrl: string;
|
|
518
|
-
styles: Record<string, string>;
|
|
519
|
-
maps: Record<string, string>;
|
|
520
|
-
};
|
|
521
|
-
type MapLibreStyle = {
|
|
522
|
-
version: 8;
|
|
523
|
-
name: string;
|
|
524
|
-
glyphs?: string;
|
|
525
|
-
sprite?: MapLibreSprite;
|
|
526
|
-
sources: Record<string, Record<string, unknown>>;
|
|
527
|
-
layers: Array<Record<string, unknown>>;
|
|
528
|
-
terrain?: Record<string, unknown>;
|
|
529
|
-
metadata?: Record<string, unknown>;
|
|
530
|
-
};
|
|
531
|
-
type ValidationMessage = {
|
|
532
|
-
level: 'error' | 'warning';
|
|
533
|
-
path: string;
|
|
534
|
-
message: string;
|
|
535
|
-
};
|
|
536
|
-
type ValidationResult = {
|
|
537
|
-
valid: boolean;
|
|
538
|
-
messages: ValidationMessage[];
|
|
539
|
-
};
|
|
540
|
-
declare function createStyle(input?: TileflowConfig, options?: TileflowStyleOptions): MapLibreStyle;
|
|
541
|
-
declare function createStyleFromProject<const TProject extends TileflowProjectConfig, const TMapName extends keyof TProject['maps'] & string>(projectConfig: TProject, mapName: TMapName, options?: TileflowStyleOptions): MapLibreStyle;
|
|
542
|
-
declare function createManifest(projectConfig: TileflowProjectConfig, options?: {
|
|
543
|
-
styleBaseUrl?: string;
|
|
544
|
-
tileBaseUrl?: string;
|
|
545
|
-
}): TileflowManifest;
|
|
546
|
-
declare function getDefaultColors(): TileflowColors;
|
|
547
|
-
|
|
548
5
|
declare const tileflowThemeSchema: z.ZodObject<{
|
|
549
6
|
colors: z.ZodOptional<z.ZodObject<{
|
|
550
7
|
accent: z.ZodOptional<z.ZodString>;
|
|
@@ -3140,112 +2597,4 @@ declare function diffTileflowIconMappings(before: Record<string, string> | null,
|
|
|
3140
2597
|
declare function inspectTileflowIconReferences(project: TileflowProjectConfig, mapName: string, availableIconNames: readonly string[]): TileflowIconReferenceAnalysis;
|
|
3141
2598
|
declare function resolveTileflowIconMapping(project: TileflowProjectConfig, mapName: string): Record<string, string>;
|
|
3142
2599
|
|
|
3143
|
-
|
|
3144
|
-
declare const defaultTileflowStyleBaseUrl = "http://localhost:3333";
|
|
3145
|
-
type TileflowAnalytics = {
|
|
3146
|
-
apiUrl?: string;
|
|
3147
|
-
endpoint?: string;
|
|
3148
|
-
enabled?: boolean;
|
|
3149
|
-
mapId?: string;
|
|
3150
|
-
metadata?: Record<string, unknown>;
|
|
3151
|
-
projectId?: string;
|
|
3152
|
-
sdkVersion?: string;
|
|
3153
|
-
source?: string;
|
|
3154
|
-
styleId?: string;
|
|
3155
|
-
};
|
|
3156
|
-
type TileflowMapMarker = {
|
|
3157
|
-
id: string;
|
|
3158
|
-
coordinates: [number, number];
|
|
3159
|
-
color?: string;
|
|
3160
|
-
label?: string;
|
|
3161
|
-
};
|
|
3162
|
-
type TileflowMapMode = 'interactive' | 'image';
|
|
3163
|
-
type TileflowMapModeOptions = {
|
|
3164
|
-
imageUrl?: string;
|
|
3165
|
-
mode?: TileflowMapMode;
|
|
3166
|
-
preferLocalDev?: boolean;
|
|
3167
|
-
};
|
|
3168
|
-
type TileflowRuntimeManifestMapEntry = string | {
|
|
3169
|
-
apiUrl?: string;
|
|
3170
|
-
environment?: string;
|
|
3171
|
-
mapId?: string;
|
|
3172
|
-
styleId?: string;
|
|
3173
|
-
styleUrl?: string;
|
|
3174
|
-
tilesetId?: string;
|
|
3175
|
-
url?: string;
|
|
3176
|
-
};
|
|
3177
|
-
type TileflowRuntimeManifest = {
|
|
3178
|
-
apiUrl?: string;
|
|
3179
|
-
maps?: Record<string, TileflowRuntimeManifestMapEntry>;
|
|
3180
|
-
styles?: Record<string, string>;
|
|
3181
|
-
tileBaseUrl?: string;
|
|
3182
|
-
version?: number;
|
|
3183
|
-
};
|
|
3184
|
-
type TileflowRuntimeManifestMap = {
|
|
3185
|
-
apiUrl?: string;
|
|
3186
|
-
mapId?: string;
|
|
3187
|
-
styleId?: string;
|
|
3188
|
-
styleUrl?: string;
|
|
3189
|
-
};
|
|
3190
|
-
type TileflowRuntimeStyle = {
|
|
3191
|
-
analytics?: TileflowAnalytics;
|
|
3192
|
-
style: MapLibreStyle | string;
|
|
3193
|
-
};
|
|
3194
|
-
type TileflowRuntimeStyleOptions = {
|
|
3195
|
-
config?: TileflowConfig;
|
|
3196
|
-
manifestMap?: TileflowRuntimeManifestMap | null;
|
|
3197
|
-
map?: string;
|
|
3198
|
-
preferLocalDev?: boolean;
|
|
3199
|
-
style?: MapLibreStyle;
|
|
3200
|
-
styleBaseUrl?: string;
|
|
3201
|
-
styleUrl?: string;
|
|
3202
|
-
themes?: TileflowProjectThemes;
|
|
3203
|
-
tileBaseUrl?: string;
|
|
3204
|
-
};
|
|
3205
|
-
type TileflowManifestLoadOptions = {
|
|
3206
|
-
config?: unknown;
|
|
3207
|
-
imageMode?: boolean;
|
|
3208
|
-
imageUrl?: string;
|
|
3209
|
-
map?: string;
|
|
3210
|
-
style?: unknown;
|
|
3211
|
-
styleBaseUrl?: string;
|
|
3212
|
-
styleUrl?: string;
|
|
3213
|
-
};
|
|
3214
|
-
declare function shouldLoadTileflowManifest(options: TileflowManifestLoadOptions): boolean;
|
|
3215
|
-
declare function resolveTileflowRuntimeStyle(options: TileflowRuntimeStyleOptions): TileflowRuntimeStyle | null;
|
|
3216
|
-
declare function resolveTileflowStyleUrl(mapName: string, styleBaseUrl?: string): string;
|
|
3217
|
-
declare function getDefaultTileflowStyleBaseUrl(): string;
|
|
3218
|
-
declare function normalizeTileflowUrl(value: string): string;
|
|
3219
|
-
declare function createTileflowSessionId(): string;
|
|
3220
|
-
declare function resolveTileflowAnalyticsRequestUrl(url: string, analytics: TileflowAnalytics | undefined, sessionId: string): string | undefined;
|
|
3221
|
-
declare function startTileflowSession(analytics: TileflowAnalytics | undefined, input: {
|
|
3222
|
-
mapId?: string;
|
|
3223
|
-
sessionId: string;
|
|
3224
|
-
source: string;
|
|
3225
|
-
styleId?: string;
|
|
3226
|
-
}): void;
|
|
3227
|
-
declare function getTileflowAnalyticsApiUrl(analytics: TileflowAnalytics): string;
|
|
3228
|
-
declare function mergeTileflowAnalytics(userAnalytics: TileflowAnalytics | undefined, runtimeAnalytics: TileflowAnalytics | undefined): TileflowAnalytics | undefined;
|
|
3229
|
-
declare function isTileflowLocalDevHost(): boolean;
|
|
3230
|
-
declare function resolveTileflowMapMode(options: TileflowMapModeOptions): TileflowMapMode;
|
|
3231
|
-
declare function loadTileflowManifest(url: string): Promise<TileflowRuntimeManifest | null>;
|
|
3232
|
-
declare function resolveTileflowManifestMap(manifest: TileflowRuntimeManifest, mapName: string): TileflowRuntimeManifestMap | null;
|
|
3233
|
-
declare function resolveTileflowStaticImageUrl(input: {
|
|
3234
|
-
center: [number, number];
|
|
3235
|
-
imageSize: {
|
|
3236
|
-
height: number;
|
|
3237
|
-
width: number;
|
|
3238
|
-
} | null;
|
|
3239
|
-
manifestMap: TileflowRuntimeManifestMap | null;
|
|
3240
|
-
zoom: number;
|
|
3241
|
-
}): string | undefined;
|
|
3242
|
-
declare function normalizeTileflowStaticImageSize(input: {
|
|
3243
|
-
height: number;
|
|
3244
|
-
width: number;
|
|
3245
|
-
}): {
|
|
3246
|
-
height: number;
|
|
3247
|
-
width: number;
|
|
3248
|
-
};
|
|
3249
|
-
declare function inferTileflowAnalyticsFromStyleUrl(styleUrl: string): TileflowAnalytics | undefined;
|
|
3250
|
-
|
|
3251
|
-
export { type MapLibreSprite, type MapLibreStyle, type NormalizedTileflowCaptureScene, type ResolvedTileflowTypography, type TileflowAdvancedColorConfig, type TileflowAnalytics, type TileflowBaseColors, type TileflowBasemapConfig, type TileflowBoundaryColorConfig, type TileflowBuildingColorConfig, type TileflowBuildingStyleConfig, type TileflowBuildings, type TileflowCaptureApplicationTarget, type TileflowCaptureBoundsCamera, type TileflowCaptureCamera, type TileflowCaptureCenterCamera, type TileflowCaptureMapTarget, type TileflowCaptureScene, type TileflowCaptureTarget, type TileflowCaptureViewport, type TileflowColor, type TileflowColorConfig, type TileflowColors, type TileflowConfig, type TileflowDensity, type TileflowFontWeight, type TileflowFonts, type TileflowHostedNotoSansWeight, type TileflowHydroColorConfig, type TileflowIconManifestDiff, type TileflowIconMappingChange, type TileflowIconMappingDiff, type TileflowIconPackageFileName, type TileflowIconPackageManifest, type TileflowIconReferenceAnalysis, type TileflowIconSet, type TileflowIconSetConfig, type TileflowLabelColorConfig, type TileflowLabelDetail, type TileflowLabelLanguage, type TileflowLabels, type TileflowLabelsModuleConfig, type TileflowLabelsModuleOptions, type TileflowLandcoverColorConfig, type TileflowLanduseColorConfig, type TileflowManifest, type TileflowManifestLoadOptions, type TileflowMapConfig, type TileflowMapMarker, type TileflowMapMode, type TileflowMapModeOptions, type TileflowModuleConfig, type TileflowOsmBasemapConfig, type TileflowOsmBasemapOptions, type TileflowPoi, type TileflowPoiCategory, type TileflowPoiClassMapping, type TileflowPoiColorConfig, type TileflowPoiColorMode, type TileflowPoiDensity, type TileflowPoiIcons, type TileflowPoiLabels, type TileflowPoiModuleConfig, type TileflowPoiModuleOptions, type TileflowProjectConfig, type TileflowProjectIconSets, type TileflowProjectThemes, type TileflowRenderedIconManifestEntry, type TileflowRenderer, type TileflowRoadClass, type TileflowRoadColorConfig, type TileflowRoadDetail, type TileflowRoadExtras, type TileflowRoadHierarchy, type TileflowRoadLabelDetail, type TileflowRoadOutline, type TileflowRoadWeight, type TileflowRoads, type TileflowRoadsModuleConfig, type TileflowRoadsModuleOptions, type TileflowRuntimeManifest, type TileflowRuntimeManifestMap, type TileflowRuntimeManifestMapEntry, type TileflowRuntimeStyle, type TileflowRuntimeStyleOptions, type TileflowSourceLayers, type TileflowStyleLayerOverride, type TileflowStyleOptions, type TileflowStyleOverrideModuleConfig, type TileflowStyleOverrideOptions, type TileflowTerrain, type TileflowTerrainConfig, type TileflowTerrainEncoding, type TileflowTerrainMode, type TileflowTheme, type TileflowThemeConfig, type TileflowThemeMode, type TileflowThemeModulesConfig, type TileflowThemeName, type TileflowTiles, type TileflowTilesetConfig, type TileflowTypography, type TileflowTypographyDomain, type TileflowTypographyStyle, type TileflowViewConfig, type ValidationMessage, type ValidationResult, compareCodeUnits, configSchema, createManifest, createStyle, createStyleFromProject, createTileflowSessionId, defaultTileflowManifestUrl, defaultTileflowStyleBaseUrl, defineTileflow, diffTileflowIconMappings, diffTileflowIconPackageManifests, getDefaultColors, getDefaultTileflowStyleBaseUrl, getTileflowAnalyticsApiUrl, hashTileflowIconPackageManifest, hashTileflowRenderedIconPixels, inferTileflowAnalyticsFromStyleUrl, inspectTileflowIconReferences, isTileflowLocalDevHost, labels, loadTileflowManifest, mergeTileflowAnalytics, normalizeTileflowCaptureId, normalizeTileflowCaptureScene, normalizeTileflowStaticImageSize, normalizeTileflowUrl, osm, parseTileflowMap, parseTileflowProject, poi, resolveTileflowAnalyticsRequestUrl, resolveTileflowIconMapping, resolveTileflowManifestMap, resolveTileflowMapMode, resolveTileflowRuntimeStyle, resolveTileflowStaticImageUrl, resolveTileflowStyleUrl, roads, serializeCanonicalJson, serializeTileflowIconPackageManifest, sha256Hex, shouldLoadTileflowManifest, startTileflowSession, styleOverride, tileflowCaptureApplicationTargetSchema, tileflowCaptureBoundsCameraSchema, tileflowCaptureCameraSchema, tileflowCaptureCenterCameraSchema, tileflowCaptureIdSchema, tileflowCaptureMapTargetSchema, tileflowCaptureSceneLimits, tileflowCaptureSceneNameSchema, tileflowCaptureSceneSchema, tileflowCaptureSceneSchemaVersion, tileflowCaptureTargetSchema, tileflowCaptureViewportSchema, tileflowHostedAlphaCompatibility, tileflowHostedIconIdPattern, tileflowHostedIconIdSchema, tileflowHostedNotoSansWeights, tileflowIconPackageContentHashSchema, tileflowIconPackageFileNames, tileflowIconPackageLabelSchema, tileflowIconPackageLimits, tileflowIconPackageManifestSchema, tileflowMapSchema, tileflowProjectSchema, tileflowRenderedIconManifestEntrySchema, tileflowThemeSchema, validateConfig, validateTileflowConfig };
|
|
2600
|
+
export { TileflowConfig, type TileflowIconManifestDiff, type TileflowIconMappingChange, type TileflowIconMappingDiff, type TileflowIconPackageFileName, type TileflowIconPackageManifest, type TileflowIconReferenceAnalysis, TileflowLabelsModuleConfig, TileflowLabelsModuleOptions, TileflowOsmBasemapConfig, TileflowOsmBasemapOptions, TileflowPoiModuleConfig, TileflowPoiModuleOptions, TileflowProjectConfig, type TileflowRenderedIconManifestEntry, TileflowRoadsModuleConfig, TileflowRoadsModuleOptions, TileflowStyleOverrideModuleConfig, TileflowStyleOverrideOptions, ValidationResult, compareCodeUnits, configSchema, defineTileflow, diffTileflowIconMappings, diffTileflowIconPackageManifests, hashTileflowIconPackageManifest, hashTileflowRenderedIconPixels, inspectTileflowIconReferences, labels, osm, parseTileflowMap, parseTileflowProject, poi, resolveTileflowIconMapping, roads, serializeCanonicalJson, serializeTileflowIconPackageManifest, sha256Hex, styleOverride, tileflowHostedAlphaCompatibility, tileflowHostedIconIdPattern, tileflowHostedIconIdSchema, tileflowIconPackageContentHashSchema, tileflowIconPackageFileNames, tileflowIconPackageLabelSchema, tileflowIconPackageLimits, tileflowIconPackageManifestSchema, tileflowMapSchema, tileflowProjectSchema, tileflowRenderedIconManifestEntrySchema, tileflowThemeSchema, validateConfig, validateTileflowConfig };
|