@tileflow/core 0.1.0-alpha.21 → 0.1.0-alpha.23
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 +201 -72
- package/THIRD_PARTY_NOTICES.md +60 -2
- package/dist/browser.d.ts +82 -16
- package/dist/browser.js +1234 -267
- package/dist/build.d.ts +19 -56
- package/dist/build.js +10915 -8333
- package/dist/config-reference.json +31882 -0
- package/dist/index.d.ts +476 -13
- package/dist/index.js +12409 -8832
- package/dist/{types-DlUGI6LC.d.ts → manifest-B5GKVMFE.d.ts} +252 -20
- package/dist/manifest.d.ts +1 -2
- package/dist/manifest.js +18 -2
- package/dist/map-BHL_0Mkx.d.ts +1145 -0
- package/dist/runtime.d.ts +1 -2
- package/dist/runtime.js +60 -5
- package/package.json +5 -8
- package/dist/domains-CPSrdTik.d.ts +0 -4
- package/dist/recipe.d.ts +0 -66
- package/dist/recipe.js +0 -577
- package/dist/requirements-BV77ZVhR.d.ts +0 -491
- package/dist/runtime-C4MtSzkB.d.ts +0 -223
- package/dist/visual-semantics-DTC-8Hsb.d.ts +0 -479
|
@@ -1,479 +0,0 @@
|
|
|
1
|
-
import { c as TileflowSymbolStyle, y as TileflowAreaStyle, a2 as TileflowLineStackStyle, b as TileflowLineStyle, H as TileflowExtrusionStyle, A as TileflowBackgroundStyle, a as TileflowFillStyle, C as TileflowCircleStyle, g as TileflowThemeColorValue, f as TileflowThemeNumberValue, r as TileflowLabelsModuleConfig, u as TileflowPoiModuleConfig, p as TileflowRoadsModuleConfig } from './types-DlUGI6LC.js';
|
|
2
|
-
|
|
3
|
-
type TileflowAddressesModuleOptions = {
|
|
4
|
-
enabled?: boolean;
|
|
5
|
-
/** Styling for OpenMapTiles point house-number labels. */
|
|
6
|
-
labels?: TileflowSymbolStyle;
|
|
7
|
-
};
|
|
8
|
-
type TileflowAddressesModuleConfig = TileflowAddressesModuleOptions & {
|
|
9
|
-
type: 'addresses';
|
|
10
|
-
};
|
|
11
|
-
declare function addresses(options?: TileflowAddressesModuleOptions): TileflowAddressesModuleConfig;
|
|
12
|
-
|
|
13
|
-
type TileflowAerowaysModuleOptions = {
|
|
14
|
-
area?: TileflowAreaStyle;
|
|
15
|
-
enabled?: boolean;
|
|
16
|
-
runway?: TileflowLineStackStyle;
|
|
17
|
-
runwayRef?: TileflowSymbolStyle;
|
|
18
|
-
taxiway?: TileflowLineStackStyle;
|
|
19
|
-
};
|
|
20
|
-
type TileflowAerowaysModuleConfig = TileflowAerowaysModuleOptions & {
|
|
21
|
-
type: 'aeroways';
|
|
22
|
-
};
|
|
23
|
-
declare function aeroways(options?: TileflowAerowaysModuleOptions): TileflowAerowaysModuleConfig;
|
|
24
|
-
|
|
25
|
-
type TileflowBoundariesModuleOptions = {
|
|
26
|
-
admin2?: TileflowLineStyle;
|
|
27
|
-
admin4?: TileflowLineStyle;
|
|
28
|
-
disputed?: TileflowLineStyle;
|
|
29
|
-
enabled?: boolean;
|
|
30
|
-
maritime?: TileflowLineStyle;
|
|
31
|
-
};
|
|
32
|
-
type TileflowBoundariesModuleConfig = TileflowBoundariesModuleOptions & {
|
|
33
|
-
type: 'boundaries';
|
|
34
|
-
};
|
|
35
|
-
declare function boundaries(options?: TileflowBoundariesModuleOptions): TileflowBoundariesModuleConfig;
|
|
36
|
-
|
|
37
|
-
type TileflowBuildingMode = '3d' | 'flat';
|
|
38
|
-
type TileflowBuildingsModuleOptions = {
|
|
39
|
-
businessCorridor?: TileflowAreaStyle;
|
|
40
|
-
enabled?: boolean;
|
|
41
|
-
extrusion?: TileflowExtrusionStyle;
|
|
42
|
-
flat?: TileflowAreaStyle;
|
|
43
|
-
mode?: TileflowBuildingMode;
|
|
44
|
-
};
|
|
45
|
-
type TileflowBuildingsModuleConfig = TileflowBuildingsModuleOptions & {
|
|
46
|
-
type: 'buildings';
|
|
47
|
-
};
|
|
48
|
-
declare function buildings(options?: TileflowBuildingsModuleOptions): TileflowBuildingsModuleConfig;
|
|
49
|
-
|
|
50
|
-
type TileflowLanduseClass = 'cemetery' | 'civic' | 'commercial' | 'education' | 'government' | 'industrial' | 'medical' | 'military' | 'parking' | 'railway' | 'recreation' | 'residential';
|
|
51
|
-
type TileflowLandcoverClass = 'farmland' | 'flowerbed' | 'grass' | 'ice' | 'meadow' | 'protected' | 'recreationGround' | 'rock' | 'sand' | 'scrub' | 'urbanPark' | 'villageGreen' | 'wetland' | 'wood';
|
|
52
|
-
type TileflowLandModuleOptions = {
|
|
53
|
-
background?: TileflowBackgroundStyle;
|
|
54
|
-
enabled?: boolean;
|
|
55
|
-
globalLandcover?: TileflowFillStyle;
|
|
56
|
-
landcover?: Partial<Record<TileflowLandcoverClass, TileflowAreaStyle>>;
|
|
57
|
-
landuse?: Partial<Record<TileflowLanduseClass, TileflowAreaStyle>>;
|
|
58
|
-
};
|
|
59
|
-
type TileflowLandModuleConfig = TileflowLandModuleOptions & {
|
|
60
|
-
type: 'land';
|
|
61
|
-
};
|
|
62
|
-
declare function land(options?: TileflowLandModuleOptions): TileflowLandModuleConfig;
|
|
63
|
-
|
|
64
|
-
declare const tileflowLandformClasses: readonly ["peak", "volcano", "saddle", "ridge", "cliff", "arete"];
|
|
65
|
-
type TileflowLandformClass = (typeof tileflowLandformClasses)[number];
|
|
66
|
-
type TileflowLandformsModuleOptions = {
|
|
67
|
-
classes?: Partial<Record<TileflowLandformClass, TileflowSymbolStyle>>;
|
|
68
|
-
enabled?: boolean;
|
|
69
|
-
/** Append source elevation in metres when the feature provides it. */
|
|
70
|
-
elevation?: boolean;
|
|
71
|
-
};
|
|
72
|
-
type TileflowLandformsModuleConfig = TileflowLandformsModuleOptions & {
|
|
73
|
-
type: 'landforms';
|
|
74
|
-
};
|
|
75
|
-
declare function landforms(options?: TileflowLandformsModuleOptions): TileflowLandformsModuleConfig;
|
|
76
|
-
|
|
77
|
-
/** Labels anchored inside polygon features; point-feature labels remain on their feature style. */
|
|
78
|
-
type TileflowNauticalAreaLabelStyles = {
|
|
79
|
-
coverage?: TileflowSymbolStyle;
|
|
80
|
-
hazards?: TileflowSymbolStyle;
|
|
81
|
-
navigationAreas?: TileflowSymbolStyle;
|
|
82
|
-
reefs?: TileflowSymbolStyle;
|
|
83
|
-
wrecks?: TileflowSymbolStyle;
|
|
84
|
-
};
|
|
85
|
-
type TileflowNauticalModuleOptions = {
|
|
86
|
-
aids?: TileflowSymbolStyle;
|
|
87
|
-
coverage?: TileflowAreaStyle;
|
|
88
|
-
enabled?: boolean;
|
|
89
|
-
hazardAreas?: TileflowAreaStyle;
|
|
90
|
-
hazards?: TileflowSymbolStyle;
|
|
91
|
-
labels?: TileflowNauticalAreaLabelStyles;
|
|
92
|
-
lighthouses?: TileflowSymbolStyle;
|
|
93
|
-
lights?: TileflowSymbolStyle;
|
|
94
|
-
navigationAreas?: TileflowAreaStyle;
|
|
95
|
-
reefs?: TileflowAreaStyle;
|
|
96
|
-
soundings?: TileflowSymbolStyle;
|
|
97
|
-
wreckAreas?: TileflowAreaStyle;
|
|
98
|
-
wrecks?: TileflowSymbolStyle;
|
|
99
|
-
};
|
|
100
|
-
type TileflowNauticalModuleConfig = TileflowNauticalModuleOptions & {
|
|
101
|
-
type: 'nautical';
|
|
102
|
-
};
|
|
103
|
-
/** Style the semantic objects published by the `nautical-v1` sidecar. */
|
|
104
|
-
declare function nautical(options?: TileflowNauticalModuleOptions): TileflowNauticalModuleConfig;
|
|
105
|
-
|
|
106
|
-
type TileflowTransitModuleOptions = {
|
|
107
|
-
cableway?: TileflowLineStyle;
|
|
108
|
-
enabled?: boolean;
|
|
109
|
-
ferry?: TileflowLineStyle;
|
|
110
|
-
rail?: TileflowTransitRailStyle;
|
|
111
|
-
railHatching?: TileflowTransitRailStyle;
|
|
112
|
-
serviceRail?: TileflowTransitRailStyle;
|
|
113
|
-
};
|
|
114
|
-
type TileflowTransitRailStyle = {
|
|
115
|
-
bridge?: TileflowLineStyle;
|
|
116
|
-
surface?: TileflowLineStyle;
|
|
117
|
-
tunnel?: TileflowLineStyle;
|
|
118
|
-
};
|
|
119
|
-
type TileflowTransitModuleConfig = TileflowTransitModuleOptions & {
|
|
120
|
-
type: 'transit';
|
|
121
|
-
};
|
|
122
|
-
declare function transit(options?: TileflowTransitModuleOptions): TileflowTransitModuleConfig;
|
|
123
|
-
|
|
124
|
-
type TileflowVegetationMode = '3d' | 'flat';
|
|
125
|
-
type TileflowVegetationThreeDimensionalStyle = {
|
|
126
|
-
barkColor?: TileflowThemeColorValue;
|
|
127
|
-
broadleafColors?: readonly TileflowThemeColorValue[];
|
|
128
|
-
coniferColors?: readonly TileflowThemeColorValue[];
|
|
129
|
-
crownScale?: TileflowThemeNumberValue;
|
|
130
|
-
heightScale?: TileflowThemeNumberValue;
|
|
131
|
-
};
|
|
132
|
-
type TileflowVegetationModuleOptions = {
|
|
133
|
-
enabled?: boolean;
|
|
134
|
-
flat?: TileflowCircleStyle;
|
|
135
|
-
minZoom?: number;
|
|
136
|
-
mode?: TileflowVegetationMode;
|
|
137
|
-
threeDimensional?: TileflowVegetationThreeDimensionalStyle;
|
|
138
|
-
};
|
|
139
|
-
type TileflowVegetationModuleConfig = TileflowVegetationModuleOptions & {
|
|
140
|
-
type: 'vegetation';
|
|
141
|
-
};
|
|
142
|
-
declare function vegetation(options?: TileflowVegetationModuleOptions): TileflowVegetationModuleConfig;
|
|
143
|
-
|
|
144
|
-
type TileflowWaterwayClass = 'canal' | 'other' | 'river' | 'stream';
|
|
145
|
-
type TileflowWaterModuleOptions = {
|
|
146
|
-
bathymetry?: TileflowFillStyle;
|
|
147
|
-
/** Opt-in approximate contours traced from discrete bathymetry polygon band edges. */
|
|
148
|
-
bathymetryContours?: TileflowLineStyle;
|
|
149
|
-
/** Opt-in labels for bathymetry polygon band floors, not measured survey soundings. */
|
|
150
|
-
bathymetryLabels?: TileflowSymbolStyle;
|
|
151
|
-
bodies?: TileflowAreaStyle;
|
|
152
|
-
enabled?: boolean;
|
|
153
|
-
intermittent?: {
|
|
154
|
-
bodies?: TileflowAreaStyle;
|
|
155
|
-
waterways?: TileflowLineStyle;
|
|
156
|
-
};
|
|
157
|
-
waterways?: Partial<Record<TileflowWaterwayClass, TileflowLineStyle>>;
|
|
158
|
-
};
|
|
159
|
-
type TileflowWaterModuleConfig = TileflowWaterModuleOptions & {
|
|
160
|
-
type: 'water';
|
|
161
|
-
};
|
|
162
|
-
declare function water(options?: TileflowWaterModuleOptions): TileflowWaterModuleConfig;
|
|
163
|
-
|
|
164
|
-
type TileflowStreetsModules = {
|
|
165
|
-
addresses?: TileflowAddressesModuleConfig;
|
|
166
|
-
aeroways?: TileflowAerowaysModuleConfig;
|
|
167
|
-
boundaries?: TileflowBoundariesModuleConfig;
|
|
168
|
-
buildings?: TileflowBuildingsModuleConfig;
|
|
169
|
-
labels?: TileflowLabelsModuleConfig;
|
|
170
|
-
land?: TileflowLandModuleConfig;
|
|
171
|
-
landforms?: TileflowLandformsModuleConfig;
|
|
172
|
-
nautical?: TileflowNauticalModuleConfig;
|
|
173
|
-
poi?: TileflowPoiModuleConfig;
|
|
174
|
-
roads?: TileflowRoadsModuleConfig;
|
|
175
|
-
transit?: TileflowTransitModuleConfig;
|
|
176
|
-
vegetation?: TileflowVegetationModuleConfig;
|
|
177
|
-
water?: TileflowWaterModuleConfig;
|
|
178
|
-
};
|
|
179
|
-
type TileflowStreetsModuleName = keyof TileflowStreetsModules;
|
|
180
|
-
|
|
181
|
-
declare const tileflowWorldGeneration: "v1";
|
|
182
|
-
/** Mutable discovery selector. The server resolves it once to an immutable release in TileJSON. */
|
|
183
|
-
declare const tileflowWorldTileJsonUrl: "https://api.tileflow.dev/tiles/world/tiles.json";
|
|
184
|
-
|
|
185
|
-
declare const tileflowPrimarySourceId = "tileflow";
|
|
186
|
-
declare const openMapTilesContractVersion = 1;
|
|
187
|
-
type ParkLayerSemantics = 'mixed' | 'protected-only';
|
|
188
|
-
type OpenMapTilesLayerBindings = {
|
|
189
|
-
aerodromeLabel: string;
|
|
190
|
-
aeroway: string;
|
|
191
|
-
boundary: string;
|
|
192
|
-
building: string;
|
|
193
|
-
/** Required low-zoom GEBCO extension in the Tileflow World V1 schema. */
|
|
194
|
-
bathymetry?: string;
|
|
195
|
-
/** Optional derived commercial-activity polygons rendered below buildings. */
|
|
196
|
-
businessCorridor?: string;
|
|
197
|
-
/** Optional generated circle centers used for detailed roundabout rendering. */
|
|
198
|
-
circularFeature?: string;
|
|
199
|
-
/** Optional low-zoom global land-cover extension. Defaults to `globallandcover`. */
|
|
200
|
-
globalLandcover?: string;
|
|
201
|
-
houseNumber: string;
|
|
202
|
-
landcover: string;
|
|
203
|
-
landuse: string;
|
|
204
|
-
mountainPeak: string;
|
|
205
|
-
park: string;
|
|
206
|
-
place: string;
|
|
207
|
-
poi: string;
|
|
208
|
-
road: string;
|
|
209
|
-
roadName: string;
|
|
210
|
-
/** Optional generalized low-zoom route-shield points. Required by Tileflow World V1. */
|
|
211
|
-
roadShield?: string;
|
|
212
|
-
/** Optional detailed pedestrian-surface polygons. */
|
|
213
|
-
sidewalk?: string;
|
|
214
|
-
/** Optional point features such as pedestrian crossings. */
|
|
215
|
-
streetFurniture?: string;
|
|
216
|
-
/** Optional individual-tree point extension used by the vegetation module. */
|
|
217
|
-
tree?: string;
|
|
218
|
-
water: string;
|
|
219
|
-
waterName: string;
|
|
220
|
-
waterway: string;
|
|
221
|
-
};
|
|
222
|
-
type OpenMapTilesFieldBindings = {
|
|
223
|
-
access: string;
|
|
224
|
-
activityScore: string;
|
|
225
|
-
adminLevel: string;
|
|
226
|
-
bicycle: string;
|
|
227
|
-
/** GEBCO depth-band upper boundary in metres. */
|
|
228
|
-
bathymetryMinDepth?: string;
|
|
229
|
-
/** Stable shallow-to-deep ordering for GEBCO bands. */
|
|
230
|
-
bathymetrySortKey?: string;
|
|
231
|
-
brunnel: string;
|
|
232
|
-
buildingKind: string;
|
|
233
|
-
buildingTone: string;
|
|
234
|
-
capital: string;
|
|
235
|
-
/** Roundabout geometry kind in the optional circular-feature layer. */
|
|
236
|
-
circularKind?: string;
|
|
237
|
-
/** Precomputed roundabout radius in pixels at zoom 15. */
|
|
238
|
-
circularRadiusAtZoom15?: string;
|
|
239
|
-
/** Extra precomputed clearance on road approaches to a circular road at zoom 15. */
|
|
240
|
-
circularClearanceExtraAtZoom15?: string;
|
|
241
|
-
/** Roundabout radius in metres. */
|
|
242
|
-
circularRadiusMeters?: string;
|
|
243
|
-
/** Roundabout inner radius in metres. */
|
|
244
|
-
circularInnerRadiusMeters?: string;
|
|
245
|
-
/** Roundabout outer radius in metres. */
|
|
246
|
-
circularOuterRadiusMeters?: string;
|
|
247
|
-
class: string;
|
|
248
|
-
/** Crossing control classification on street-furniture points. */
|
|
249
|
-
crossing: string;
|
|
250
|
-
circumference: string;
|
|
251
|
-
classificationConfidence: string;
|
|
252
|
-
confidence: string;
|
|
253
|
-
diameterCrown: string;
|
|
254
|
-
disputed: string;
|
|
255
|
-
/** Direction in degrees for oriented street-furniture symbols. */
|
|
256
|
-
direction?: string;
|
|
257
|
-
elevation: string;
|
|
258
|
-
elevationFeet: string;
|
|
259
|
-
expressway: string;
|
|
260
|
-
foot: string;
|
|
261
|
-
height: string;
|
|
262
|
-
hide3d: string;
|
|
263
|
-
hasBusiness: string;
|
|
264
|
-
/** Whether a building footprint owns separately materialized building parts. */
|
|
265
|
-
hasParts?: string;
|
|
266
|
-
horse: string;
|
|
267
|
-
houseNumber: string;
|
|
268
|
-
/** Optional sparse 1–4 semantic and locally normalized urban-importance tier. */
|
|
269
|
-
importanceTier?: string;
|
|
270
|
-
iata: string;
|
|
271
|
-
icao: string;
|
|
272
|
-
indoor: string;
|
|
273
|
-
intermittent: string;
|
|
274
|
-
genus: string;
|
|
275
|
-
layer: string;
|
|
276
|
-
leafCycle: string;
|
|
277
|
-
leafType: string;
|
|
278
|
-
level: string;
|
|
279
|
-
maritime: string;
|
|
280
|
-
/** Physical crossing-marking classification on street-furniture points. */
|
|
281
|
-
markings: string;
|
|
282
|
-
minHeight: string;
|
|
283
|
-
minZoom: string;
|
|
284
|
-
mtbScale: string;
|
|
285
|
-
name: string;
|
|
286
|
-
nameEnglish: string;
|
|
287
|
-
nameLatin: string;
|
|
288
|
-
network: string;
|
|
289
|
-
official: string;
|
|
290
|
-
oneway: string;
|
|
291
|
-
/** Canonical editorial POI category. Never aliases OpenMapTiles `class`. */
|
|
292
|
-
poiCategory: string;
|
|
293
|
-
/** Per-zoom POI density tier from 0 (most selective) through 5. */
|
|
294
|
-
poiFilterRank: string;
|
|
295
|
-
/** Producer-selected POI icon key. */
|
|
296
|
-
poiIcon: string;
|
|
297
|
-
/** Physical-size tier from 0 (largest) through 16 (point-sized). */
|
|
298
|
-
poiSizeRank: string;
|
|
299
|
-
/** Canonical specific POI type. Never aliases OpenMapTiles `subclass`. */
|
|
300
|
-
poiType: string;
|
|
301
|
-
ramp: string;
|
|
302
|
-
rank: string;
|
|
303
|
-
ref: string;
|
|
304
|
-
refLength: string;
|
|
305
|
-
renderHeight: string;
|
|
306
|
-
renderMinZoom: string;
|
|
307
|
-
renderMinHeight: string;
|
|
308
|
-
/** Optional producer-normalized route-shield family. Required by Tileflow World V1. */
|
|
309
|
-
shieldKind?: string;
|
|
310
|
-
/** Optional merged line length used to bound detailed route-shield repetition. */
|
|
311
|
-
shieldLineLengthMeters?: string;
|
|
312
|
-
/** Optional producer-normalized route network identifier. */
|
|
313
|
-
shieldNetwork?: string;
|
|
314
|
-
/** Optional producer-normalized route-shield collision rank. */
|
|
315
|
-
shieldRank?: string;
|
|
316
|
-
/** Optional producer-normalized route-shield text. */
|
|
317
|
-
shieldText?: string;
|
|
318
|
-
/** Optional producer-normalized route-shield ink role. Required by Tileflow World V1. */
|
|
319
|
-
shieldTextColor?: string;
|
|
320
|
-
service: string;
|
|
321
|
-
species: string;
|
|
322
|
-
speciesWikidata: string;
|
|
323
|
-
subclass: string;
|
|
324
|
-
surface: string;
|
|
325
|
-
toll: string;
|
|
326
|
-
};
|
|
327
|
-
type OpenMapTilesSchemaOptions = {
|
|
328
|
-
capabilities?: {
|
|
329
|
-
businessCorridor?: boolean;
|
|
330
|
-
bathymetry?: boolean;
|
|
331
|
-
globalLandcover?: boolean;
|
|
332
|
-
tree?: boolean;
|
|
333
|
-
};
|
|
334
|
-
fields?: Partial<OpenMapTilesFieldBindings>;
|
|
335
|
-
layers?: Partial<OpenMapTilesLayerBindings>;
|
|
336
|
-
semantics?: {
|
|
337
|
-
/** Whether the bound park layer mixes ordinary parks with protected areas. */
|
|
338
|
-
parkLayer?: ParkLayerSemantics;
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
|
-
type OpenMapTilesSchema = {
|
|
342
|
-
type: 'openmaptiles';
|
|
343
|
-
contractVersion: typeof openMapTilesContractVersion;
|
|
344
|
-
fields: OpenMapTilesFieldBindings;
|
|
345
|
-
layers: OpenMapTilesLayerBindings;
|
|
346
|
-
semantics: {
|
|
347
|
-
parkLayer: ParkLayerSemantics;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
type TileflowWorldV1Schema = Omit<OpenMapTilesSchema, 'fields' | 'layers'> & {
|
|
351
|
-
fields: OpenMapTilesFieldBindings & {
|
|
352
|
-
bathymetryMinDepth: string;
|
|
353
|
-
bathymetrySortKey: string;
|
|
354
|
-
circularClearanceExtraAtZoom15: string;
|
|
355
|
-
circularInnerRadiusMeters: string;
|
|
356
|
-
circularKind: string;
|
|
357
|
-
circularOuterRadiusMeters: string;
|
|
358
|
-
circularRadiusAtZoom15: string;
|
|
359
|
-
circularRadiusMeters: string;
|
|
360
|
-
direction: string;
|
|
361
|
-
hasParts: string;
|
|
362
|
-
shieldKind: string;
|
|
363
|
-
shieldLineLengthMeters: string;
|
|
364
|
-
shieldNetwork: string;
|
|
365
|
-
shieldRank: string;
|
|
366
|
-
shieldText: string;
|
|
367
|
-
shieldTextColor: string;
|
|
368
|
-
};
|
|
369
|
-
layers: OpenMapTilesLayerBindings & {
|
|
370
|
-
bathymetry: string;
|
|
371
|
-
circularFeature: string;
|
|
372
|
-
globalLandcover: string;
|
|
373
|
-
sidewalk: string;
|
|
374
|
-
streetFurniture: string;
|
|
375
|
-
roadShield: string;
|
|
376
|
-
};
|
|
377
|
-
};
|
|
378
|
-
type TileflowWorldReleaseReference = Readonly<{
|
|
379
|
-
descriptorSha256: string;
|
|
380
|
-
releaseId: string;
|
|
381
|
-
}>;
|
|
382
|
-
type TileflowWorldSelection = Readonly<{
|
|
383
|
-
kind: 'current';
|
|
384
|
-
product: 'world-v1';
|
|
385
|
-
}> | Readonly<{
|
|
386
|
-
kind: 'release';
|
|
387
|
-
product: 'world-v1';
|
|
388
|
-
release: TileflowWorldReleaseReference;
|
|
389
|
-
}>;
|
|
390
|
-
type TileflowWorldData = {
|
|
391
|
-
generation: typeof tileflowWorldGeneration;
|
|
392
|
-
selection: TileflowWorldSelection;
|
|
393
|
-
type: 'tileflow-world';
|
|
394
|
-
};
|
|
395
|
-
type VectorTilesDataCommon = {
|
|
396
|
-
type: 'vector-tiles';
|
|
397
|
-
attribution: string;
|
|
398
|
-
revision?: string;
|
|
399
|
-
schema: OpenMapTilesSchema;
|
|
400
|
-
};
|
|
401
|
-
type VectorTilesData = VectorTilesDataCommon & ({
|
|
402
|
-
bounds?: never;
|
|
403
|
-
maxzoom?: never;
|
|
404
|
-
minzoom?: never;
|
|
405
|
-
tiles?: never;
|
|
406
|
-
url: string;
|
|
407
|
-
} | {
|
|
408
|
-
bounds?: [number, number, number, number];
|
|
409
|
-
maxzoom?: number;
|
|
410
|
-
minzoom?: number;
|
|
411
|
-
tiles: [string, ...string[]];
|
|
412
|
-
url?: never;
|
|
413
|
-
});
|
|
414
|
-
type TileflowDataConfig = TileflowWorldData | VectorTilesData;
|
|
415
|
-
type TileflowDataIdentity = {
|
|
416
|
-
bindings?: {
|
|
417
|
-
fields: OpenMapTilesFieldBindings;
|
|
418
|
-
layers: OpenMapTilesLayerBindings;
|
|
419
|
-
};
|
|
420
|
-
capabilities?: {
|
|
421
|
-
businessCorridor: boolean;
|
|
422
|
-
bathymetry: boolean;
|
|
423
|
-
globalLandcover: boolean;
|
|
424
|
-
tree: boolean;
|
|
425
|
-
};
|
|
426
|
-
generation?: typeof tileflowWorldGeneration;
|
|
427
|
-
kind: TileflowDataConfig['type'];
|
|
428
|
-
/** External fixture identity. */
|
|
429
|
-
revision?: string;
|
|
430
|
-
schema: OpenMapTilesSchema['type'];
|
|
431
|
-
schemaVersion: number;
|
|
432
|
-
semantics: OpenMapTilesSchema['semantics'];
|
|
433
|
-
sourceId: typeof tileflowPrimarySourceId;
|
|
434
|
-
url?: string;
|
|
435
|
-
worldSelection?: TileflowWorldSelection;
|
|
436
|
-
};
|
|
437
|
-
type ResolvedTileflowData = {
|
|
438
|
-
attribution: string;
|
|
439
|
-
bounds?: [number, number, number, number];
|
|
440
|
-
generation?: typeof tileflowWorldGeneration;
|
|
441
|
-
identity: TileflowDataIdentity;
|
|
442
|
-
kind: TileflowDataConfig['type'];
|
|
443
|
-
maxzoom?: number;
|
|
444
|
-
minzoom?: number;
|
|
445
|
-
revision?: string;
|
|
446
|
-
schema: OpenMapTilesSchema;
|
|
447
|
-
sourceId: typeof tileflowPrimarySourceId;
|
|
448
|
-
tiles?: string[];
|
|
449
|
-
url?: string;
|
|
450
|
-
};
|
|
451
|
-
declare function openMapTiles(options?: OpenMapTilesSchemaOptions): OpenMapTilesSchema;
|
|
452
|
-
/** OpenMapTiles plus the required typed extensions emitted by Tileflow World V1. */
|
|
453
|
-
declare function tileflowWorldV1Schema(options?: OpenMapTilesSchemaOptions): TileflowWorldV1Schema;
|
|
454
|
-
declare function validateTileflowWorldV1Tilejson(tilejson: {
|
|
455
|
-
vector_layers?: readonly unknown[];
|
|
456
|
-
} | null | undefined, schema?: TileflowWorldV1Schema): string[];
|
|
457
|
-
declare function tileflowWorld(options?: {
|
|
458
|
-
release?: TileflowWorldReleaseReference;
|
|
459
|
-
}): TileflowWorldData;
|
|
460
|
-
declare function vectorTiles(options: {
|
|
461
|
-
attribution: string;
|
|
462
|
-
bounds?: [number, number, number, number];
|
|
463
|
-
maxzoom?: number;
|
|
464
|
-
minzoom?: number;
|
|
465
|
-
revision?: string;
|
|
466
|
-
schema: OpenMapTilesSchema;
|
|
467
|
-
tiles?: readonly [string, ...string[]];
|
|
468
|
-
url?: string;
|
|
469
|
-
}): VectorTilesData;
|
|
470
|
-
declare function resolveTileflowData(data: TileflowDataConfig | undefined, options?: {
|
|
471
|
-
apiBaseUrl?: string;
|
|
472
|
-
}): ResolvedTileflowData;
|
|
473
|
-
declare function isCanonicalOpenMapTilesSchema(schema: OpenMapTilesSchema): boolean;
|
|
474
|
-
|
|
475
|
-
type TileflowVisualValueCategory = 'color' | 'font' | 'image' | 'number';
|
|
476
|
-
/** Return the semantic theme category for one visual property, or undefined for structure/data. */
|
|
477
|
-
declare function classifyTileflowVisualProperty(property: string, value?: unknown): TileflowVisualValueCategory | undefined;
|
|
478
|
-
|
|
479
|
-
export { nautical as $, type TileflowNauticalModuleOptions as A, type TileflowTransitModuleConfig as B, type TileflowTransitModuleOptions as C, type TileflowTransitRailStyle as D, type TileflowVegetationMode as E, type TileflowVegetationModuleConfig as F, type TileflowVegetationModuleOptions as G, type TileflowVegetationThreeDimensionalStyle as H, type TileflowWaterModuleConfig as I, type TileflowWaterModuleOptions as J, type TileflowWaterwayClass as K, type TileflowWorldData as L, type TileflowWorldReleaseReference as M, type TileflowWorldSelection as N, type OpenMapTilesFieldBindings as O, type ParkLayerSemantics as P, type TileflowWorldV1Schema as Q, type ResolvedTileflowData as R, addresses as S, type TileflowStreetsModuleName as T, aeroways as U, type VectorTilesData as V, boundaries as W, buildings as X, isCanonicalOpenMapTilesSchema as Y, land as Z, landforms as _, type OpenMapTilesLayerBindings as a, openMapTiles as a0, openMapTilesContractVersion as a1, resolveTileflowData as a2, tileflowLandformClasses as a3, tileflowPrimarySourceId as a4, tileflowWorld as a5, tileflowWorldGeneration as a6, tileflowWorldTileJsonUrl as a7, tileflowWorldV1Schema as a8, transit as a9, validateTileflowWorldV1Tilejson as aa, vectorTiles as ab, vegetation as ac, water as ad, type TileflowVisualValueCategory as b, classifyTileflowVisualProperty as c, type TileflowDataConfig as d, type TileflowStreetsModules as e, type OpenMapTilesSchema as f, type OpenMapTilesSchemaOptions as g, type TileflowAddressesModuleConfig as h, type TileflowAddressesModuleOptions as i, type TileflowAerowaysModuleConfig as j, type TileflowAerowaysModuleOptions as k, type TileflowBoundariesModuleConfig as l, type TileflowBoundariesModuleOptions as m, type TileflowBuildingMode as n, type TileflowBuildingsModuleConfig as o, type TileflowBuildingsModuleOptions as p, type TileflowDataIdentity as q, type TileflowLandModuleConfig as r, type TileflowLandModuleOptions as s, type TileflowLandcoverClass as t, type TileflowLandformClass as u, type TileflowLandformsModuleConfig as v, type TileflowLandformsModuleOptions as w, type TileflowLanduseClass as x, type TileflowNauticalAreaLabelStyles as y, type TileflowNauticalModuleConfig as z };
|