map-ol-utils 0.2.0 → 1.0.1
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/LICENSE +21 -0
- package/README.md +40 -69
- package/dist/index.cjs +1 -1953
- package/dist/index.d.cts +121 -300
- package/dist/index.d.mts +121 -300
- package/dist/index.mjs +1 -1830
- package/package.json +11 -5
- package/dist/tdt-vts/decoder.worker.cjs +0 -46
- package/dist/tdt-vts/decoder.worker.d.cts +0 -1
- package/dist/tdt-vts/decoder.worker.d.mts +0 -1
- package/dist/tdt-vts/decoder.worker.mjs +0 -47
- package/dist/tile-loader-CtZwCurI.mjs +0 -630
- package/dist/tile-loader-D4cn6nMU.cjs +0 -683
package/dist/index.d.cts
CHANGED
|
@@ -1,40 +1,43 @@
|
|
|
1
|
-
import { Layer, Tile } from "ol/layer
|
|
2
|
-
import { Style, Text } from "ol/style
|
|
1
|
+
import { Layer, Tile } from "ol/layer";
|
|
2
|
+
import { Style, Text } from "ol/style";
|
|
3
3
|
import { Feature, Map as Map$1, Overlay } from "ol";
|
|
4
4
|
import { CRSTypes } from "gcoord";
|
|
5
|
-
import { Source, WMTS, XYZ } from "ol/source
|
|
6
|
-
import { Coordinate } from "ol/coordinate
|
|
7
|
-
import Feature$1, { FeatureLike } from "ol/Feature
|
|
8
|
-
import
|
|
5
|
+
import { Source, WMTS, XYZ } from "ol/source";
|
|
6
|
+
import { Coordinate } from "ol/coordinate";
|
|
7
|
+
import Feature$1, { FeatureLike } from "ol/Feature";
|
|
8
|
+
import { NormalizeStats, RestoreMode, TdtDecoderWorkerClient, TdtDecoderWorkerClientOptions } from "tdt-vts-core";
|
|
9
|
+
import VectorTileLayer from "ol/layer/VectorTile";
|
|
10
|
+
import VectorTileSource from "ol/source/VectorTile";
|
|
9
11
|
import { Emitter, EventType } from "mitt";
|
|
10
|
-
import TileLayer from "ol/layer/Tile
|
|
11
|
-
import Layer$1 from "ol/layer/Layer
|
|
12
|
-
import VectorImageLayer from "ol/layer/Image
|
|
13
|
-
import RasterSource from "ol/source/Raster
|
|
14
|
-
import { Options } from "ol/Overlay
|
|
15
|
-
import VectorLayer from "ol/layer/Vector
|
|
16
|
-
import { Point, SimpleGeometry } from "ol/geom
|
|
17
|
-
import { AnimationOptions, FitOptions } from "ol/View
|
|
18
|
-
import { Select } from "ol/interaction
|
|
19
|
-
import Geometry, { Type } from "ol/geom/Geometry
|
|
20
|
-
import Draw from "ol/interaction/Draw
|
|
21
|
-
import VectorSource from "ol/source/Vector
|
|
22
|
-
import { FlatStyleLike } from "ol/style/flat
|
|
23
|
-
import { StyleLike } from "ol/style/Style
|
|
24
|
-
import Collection from "ol/Collection
|
|
25
|
-
import Point$1 from "ol/geom/Point
|
|
26
|
-
import Cluster from "ol/source/Cluster
|
|
12
|
+
import TileLayer from "ol/layer/Tile";
|
|
13
|
+
import Layer$1 from "ol/layer/Layer";
|
|
14
|
+
import VectorImageLayer from "ol/layer/Image";
|
|
15
|
+
import RasterSource from "ol/source/Raster";
|
|
16
|
+
import { Options } from "ol/Overlay";
|
|
17
|
+
import VectorLayer from "ol/layer/Vector";
|
|
18
|
+
import { Point, SimpleGeometry } from "ol/geom";
|
|
19
|
+
import { AnimationOptions, FitOptions } from "ol/View";
|
|
20
|
+
import { Select } from "ol/interaction";
|
|
21
|
+
import Geometry, { Type } from "ol/geom/Geometry";
|
|
22
|
+
import Draw from "ol/interaction/Draw";
|
|
23
|
+
import VectorSource from "ol/source/Vector";
|
|
24
|
+
import { FlatStyleLike } from "ol/style/flat";
|
|
25
|
+
import { StyleLike } from "ol/style/Style";
|
|
26
|
+
import Collection from "ol/Collection";
|
|
27
|
+
import Point$1 from "ol/geom/Point";
|
|
28
|
+
import Cluster from "ol/source/Cluster";
|
|
29
|
+
export * from "tdt-vts-core";
|
|
27
30
|
//#region src/core/types.d.ts
|
|
28
|
-
interface CustomMap extends Map$1 {
|
|
31
|
+
export interface CustomMap extends Map$1 {
|
|
29
32
|
activeBaseLayer?: string;
|
|
30
33
|
changeBaseLayer?: () => void;
|
|
31
34
|
removeLayerByName?: (name: string) => void;
|
|
32
35
|
getLayerByName?: (name: string) => Layer<Source> | undefined;
|
|
33
36
|
changeLayersByNames?: (activeNames: Array<string>, allLayerNames: Array<string>) => void;
|
|
34
37
|
}
|
|
35
|
-
type GetImgUrl = (name: string, ext?: string) => string;
|
|
36
|
-
type GetImgUrlFn = (baseUrl: string) => GetImgUrl;
|
|
37
|
-
type VectorConfig = {
|
|
38
|
+
export type GetImgUrl = (name: string, ext?: string) => string;
|
|
39
|
+
export type GetImgUrlFn = (baseUrl: string) => GetImgUrl;
|
|
40
|
+
export type VectorConfig = {
|
|
38
41
|
key: string;
|
|
39
42
|
zIndex?: number;
|
|
40
43
|
isRaw?: boolean;
|
|
@@ -56,7 +59,7 @@ type VectorConfig = {
|
|
|
56
59
|
activeStrokeWeight?: number;
|
|
57
60
|
colorMap?: Map<string, string>;
|
|
58
61
|
};
|
|
59
|
-
type ClusterData = {
|
|
62
|
+
export type ClusterData = {
|
|
60
63
|
_uuid: string;
|
|
61
64
|
name: string;
|
|
62
65
|
style: number;
|
|
@@ -65,7 +68,7 @@ type ClusterData = {
|
|
|
65
68
|
[key: string]: any;
|
|
66
69
|
};
|
|
67
70
|
};
|
|
68
|
-
type ClusterConfig = {
|
|
71
|
+
export type ClusterConfig = {
|
|
69
72
|
distance: number;
|
|
70
73
|
layerName?: string;
|
|
71
74
|
openClick?: boolean;
|
|
@@ -74,7 +77,7 @@ type ClusterConfig = {
|
|
|
74
77
|
computedRadius?: (size: number) => number;
|
|
75
78
|
buildStyle?: (feature: FeatureLike) => Style;
|
|
76
79
|
};
|
|
77
|
-
type IconConfig = {
|
|
80
|
+
export type IconConfig = {
|
|
78
81
|
baseUrl: string;
|
|
79
82
|
hasLine?: boolean;
|
|
80
83
|
layerName?: string;
|
|
@@ -89,7 +92,7 @@ type IconConfig = {
|
|
|
89
92
|
vectorConfig?: VectorConfig;
|
|
90
93
|
markerSize: [number, number];
|
|
91
94
|
};
|
|
92
|
-
type MassData = {
|
|
95
|
+
export type MassData = {
|
|
93
96
|
_uuid?: string;
|
|
94
97
|
id: string;
|
|
95
98
|
style: number;
|
|
@@ -103,26 +106,26 @@ type MassData = {
|
|
|
103
106
|
};
|
|
104
107
|
lnglat: [string, string] | [number, number];
|
|
105
108
|
};
|
|
106
|
-
type WmtsSourceOptions = {
|
|
109
|
+
export type WmtsSourceOptions = {
|
|
107
110
|
style?: string;
|
|
108
111
|
format?: string;
|
|
109
112
|
version?: string;
|
|
110
113
|
layerName: string;
|
|
111
114
|
matrixSet?: string;
|
|
112
115
|
};
|
|
113
|
-
declare enum GeometryType {
|
|
116
|
+
export declare enum GeometryType {
|
|
114
117
|
LineString = "LineString",
|
|
115
118
|
MultiLineString = "MultiLineString",
|
|
116
119
|
Polygon = "Polygon",
|
|
117
120
|
MultiPolygon = "MultiPolygon",
|
|
118
121
|
Invalid = "Invalid"
|
|
119
122
|
}
|
|
120
|
-
type GeometryCoordinates = Coordinate[] | Coordinate[][] | Coordinate[][][];
|
|
121
|
-
type HzsyType = 'hzsyraster' | 'hzsyvector' | 'hzsyvector_dark';
|
|
122
|
-
type ZheJiangType = 'emap' | 'emap_lab' | 'imgmap' | 'imgmap_lab';
|
|
123
|
-
type WorldLayerType = 'vec_c' | 'cva_c' | 'img_c' | 'cia_c' | 'ter_c' | 'cta_c' | 'ibo_c';
|
|
123
|
+
export type GeometryCoordinates = Coordinate[] | Coordinate[][] | Coordinate[][][];
|
|
124
|
+
export type HzsyType = 'hzsyraster' | 'hzsyvector' | 'hzsyvector_dark';
|
|
125
|
+
export type ZheJiangType = 'emap' | 'emap_lab' | 'imgmap' | 'imgmap_lab';
|
|
126
|
+
export type WorldLayerType = 'vec_c' | 'cva_c' | 'img_c' | 'cia_c' | 'ter_c' | 'cta_c' | 'ibo_c';
|
|
124
127
|
/** 通用图层配置。 */
|
|
125
|
-
type LayerConfig = {
|
|
128
|
+
export type LayerConfig = {
|
|
126
129
|
zIndex?: number;
|
|
127
130
|
visible?: boolean;
|
|
128
131
|
minZoom?: number;
|
|
@@ -130,7 +133,7 @@ type LayerConfig = {
|
|
|
130
133
|
layerName: string;
|
|
131
134
|
};
|
|
132
135
|
/** Marker 数据结构。 */
|
|
133
|
-
type DataItemConfig = {
|
|
136
|
+
export type DataItemConfig = {
|
|
134
137
|
lng: string | number;
|
|
135
138
|
lat: string | number;
|
|
136
139
|
img: string | undefined;
|
|
@@ -144,211 +147,11 @@ type DataItemConfig = {
|
|
|
144
147
|
rawData?: any;
|
|
145
148
|
rotation?: number;
|
|
146
149
|
};
|
|
147
|
-
interface ElasticDataItemConfig extends DataItemConfig {
|
|
150
|
+
export interface ElasticDataItemConfig extends DataItemConfig {
|
|
148
151
|
smallImg: string;
|
|
149
152
|
largeImg: string;
|
|
150
153
|
}
|
|
151
154
|
//#endregion
|
|
152
|
-
//#region src/tdt-vts/pk.d.ts
|
|
153
|
-
interface TileCoordinate {
|
|
154
|
-
z: number;
|
|
155
|
-
x: number;
|
|
156
|
-
y: number;
|
|
157
|
-
}
|
|
158
|
-
interface TdtVtsUrlOptions {
|
|
159
|
-
token: string;
|
|
160
|
-
type?: string;
|
|
161
|
-
version?: string;
|
|
162
|
-
maxZoom?: number;
|
|
163
|
-
hosts?: readonly string[];
|
|
164
|
-
wrapX?: boolean;
|
|
165
|
-
}
|
|
166
|
-
/**
|
|
167
|
-
* 将 XYZ 瓦片坐标编码为天地图 VTS 使用的 pk 参数。
|
|
168
|
-
*
|
|
169
|
-
* 算法按 main.0f98e6f9.js 中的实现还原:
|
|
170
|
-
* 1. 从 bit=z 到 bit=0 交织 x/y 位;
|
|
171
|
-
* 2. 反转;
|
|
172
|
-
* 3. 将 0-based 位置 9、8、7、6 加一;
|
|
173
|
-
* 4. 0/1/2/3/4 映射为 a/d/g/j/m;
|
|
174
|
-
* 5. 连续字符使用“额外重复次数”压缩。
|
|
175
|
-
*/
|
|
176
|
-
declare const encodeTdtPk: (x: number, y: number, z: number) => string;
|
|
177
|
-
/** 反解 pk;用于调试、单元测试和核对网络请求。 */
|
|
178
|
-
declare const decodeTdtPk: (pk: string) => TileCoordinate;
|
|
179
|
-
/**
|
|
180
|
-
* 根据 OpenLayers 的 [z, x, y] 生成最终 VTS 地址,不依赖字符串替换。
|
|
181
|
-
*/
|
|
182
|
-
declare const createTdtVtsUrl: (tileCoord: readonly [number, number, number], options: TdtVtsUrlOptions) => string | undefined;
|
|
183
|
-
declare const redactTdtToken: (url: string) => string;
|
|
184
|
-
//#endregion
|
|
185
|
-
//#region src/tdt-vts/private-mvt.d.ts
|
|
186
|
-
declare const TDT_XOR_BYTE_INDEXES: readonly [1, 2, 3, 4, 99];
|
|
187
|
-
type MvtLayout = 'private' | 'standard';
|
|
188
|
-
type RestoreMode = 'auto' | 'header' | 'always' | 'never';
|
|
189
|
-
type MvtGeometryType = 0 | 1 | 2 | 3 | 4;
|
|
190
|
-
type MvtValue = {
|
|
191
|
-
kind: 'string';
|
|
192
|
-
value: string;
|
|
193
|
-
} | {
|
|
194
|
-
kind: 'float';
|
|
195
|
-
value: number;
|
|
196
|
-
} | {
|
|
197
|
-
kind: 'double';
|
|
198
|
-
value: number;
|
|
199
|
-
} | {
|
|
200
|
-
kind: 'int64';
|
|
201
|
-
value: bigint;
|
|
202
|
-
} | {
|
|
203
|
-
kind: 'uint64';
|
|
204
|
-
value: bigint;
|
|
205
|
-
} | {
|
|
206
|
-
kind: 'sint64';
|
|
207
|
-
value: bigint;
|
|
208
|
-
} | {
|
|
209
|
-
kind: 'boolean';
|
|
210
|
-
value: boolean;
|
|
211
|
-
} | {
|
|
212
|
-
kind: 'null';
|
|
213
|
-
value: null;
|
|
214
|
-
};
|
|
215
|
-
interface MvtFeature {
|
|
216
|
-
id?: bigint;
|
|
217
|
-
tags: number[];
|
|
218
|
-
type: MvtGeometryType;
|
|
219
|
-
geometry: number[];
|
|
220
|
-
}
|
|
221
|
-
interface MvtLayer {
|
|
222
|
-
version: number;
|
|
223
|
-
name: string;
|
|
224
|
-
extent: number;
|
|
225
|
-
features: MvtFeature[];
|
|
226
|
-
keys: string[];
|
|
227
|
-
values: MvtValue[];
|
|
228
|
-
}
|
|
229
|
-
interface MvtTile {
|
|
230
|
-
layers: MvtLayer[];
|
|
231
|
-
}
|
|
232
|
-
interface LayerStats {
|
|
233
|
-
name: string;
|
|
234
|
-
featureCount: number;
|
|
235
|
-
pointCount: number;
|
|
236
|
-
lineCount: number;
|
|
237
|
-
polygonCount: number;
|
|
238
|
-
extent: number;
|
|
239
|
-
version: number;
|
|
240
|
-
}
|
|
241
|
-
interface NormalizeStats {
|
|
242
|
-
restored: boolean;
|
|
243
|
-
pragma: string | null;
|
|
244
|
-
inputBytes: number;
|
|
245
|
-
outputBytes: number;
|
|
246
|
-
layerCount: number;
|
|
247
|
-
featureCount: number;
|
|
248
|
-
layers: LayerStats[];
|
|
249
|
-
}
|
|
250
|
-
interface NormalizeOptions {
|
|
251
|
-
pragma?: string | null;
|
|
252
|
-
restoreMode?: RestoreMode;
|
|
253
|
-
}
|
|
254
|
-
interface NormalizeResult {
|
|
255
|
-
data: Uint8Array;
|
|
256
|
-
stats: NormalizeStats;
|
|
257
|
-
}
|
|
258
|
-
declare const restoreTdtBytes: (input: ArrayBuffer | ArrayBufferView | Uint8Array) => Uint8Array;
|
|
259
|
-
declare const decodeMvt: (input: ArrayBuffer | ArrayBufferView | Uint8Array, layout: MvtLayout) => MvtTile;
|
|
260
|
-
declare const privateTypeToStandard: (type: MvtGeometryType) => MvtGeometryType;
|
|
261
|
-
declare const normalizePrivateGeometry: (geometry: readonly number[]) => number[];
|
|
262
|
-
declare const encodeStandardMvt: (privateTile: MvtTile) => Uint8Array;
|
|
263
|
-
declare const normalizePrivateMvt: (input: ArrayBuffer | ArrayBufferView | Uint8Array, options?: NormalizeOptions) => NormalizeResult;
|
|
264
|
-
declare const resolveFeatureProperties: (layer: MvtLayer, feature: MvtFeature) => Record<string, string | number | boolean | bigint | null>;
|
|
265
|
-
//#endregion
|
|
266
|
-
//#region src/tdt-vts/style-loader.d.ts
|
|
267
|
-
declare const TDT_VECTOR_SOURCE_ID = "base-tdt-vector-tile";
|
|
268
|
-
interface JsonStyleLayer {
|
|
269
|
-
id: string;
|
|
270
|
-
type: string;
|
|
271
|
-
source?: string;
|
|
272
|
-
'source-layer'?: string;
|
|
273
|
-
beforeLayerId?: string;
|
|
274
|
-
minzoom?: number;
|
|
275
|
-
maxzoom?: number;
|
|
276
|
-
layout?: Record<string, unknown>;
|
|
277
|
-
paint?: Record<string, unknown>;
|
|
278
|
-
filter?: unknown;
|
|
279
|
-
metadata?: Record<string, unknown>;
|
|
280
|
-
[key: string]: unknown;
|
|
281
|
-
}
|
|
282
|
-
interface JsonStyleDocument {
|
|
283
|
-
version: 8;
|
|
284
|
-
name?: string;
|
|
285
|
-
metadata?: Record<string, unknown>;
|
|
286
|
-
sources: Record<string, Record<string, unknown>>;
|
|
287
|
-
sprite?: unknown;
|
|
288
|
-
glyphs?: string;
|
|
289
|
-
layers: JsonStyleLayer[];
|
|
290
|
-
[key: string]: unknown;
|
|
291
|
-
}
|
|
292
|
-
interface TdtStyleBundle {
|
|
293
|
-
style: JsonStyleDocument;
|
|
294
|
-
style0LayerCount: number;
|
|
295
|
-
style1LayerCount: number;
|
|
296
|
-
skippedLayerIds: string[];
|
|
297
|
-
}
|
|
298
|
-
interface LoadStyleOptions {
|
|
299
|
-
style0Url: string;
|
|
300
|
-
style1Url: string;
|
|
301
|
-
sourceId?: string;
|
|
302
|
-
signal?: AbortSignal;
|
|
303
|
-
}
|
|
304
|
-
/** 按原 bundle 的 beforeLayerId 语义逐层插入。 */
|
|
305
|
-
declare const mergeTdtStyleLayers: (baseLayers: readonly JsonStyleLayer[], extraLayers: readonly JsonStyleLayer[]) => JsonStyleLayer[];
|
|
306
|
-
declare const loadTdtStyleBundle: (options: LoadStyleOptions) => Promise<TdtStyleBundle>;
|
|
307
|
-
declare const getConstantBackgroundColor: (style: JsonStyleDocument) => string | undefined;
|
|
308
|
-
//#endregion
|
|
309
|
-
//#region src/tdt-vts/tile-loader.d.ts
|
|
310
|
-
interface TdtTileResponseStats extends NormalizeStats {
|
|
311
|
-
contentType: string | null;
|
|
312
|
-
cacheControl: string | null;
|
|
313
|
-
}
|
|
314
|
-
interface LoadedTdtTile {
|
|
315
|
-
buffer: ArrayBuffer;
|
|
316
|
-
stats: TdtTileResponseStats;
|
|
317
|
-
}
|
|
318
|
-
interface LoadTdtVtsOptions {
|
|
319
|
-
restoreMode?: RestoreMode;
|
|
320
|
-
signal?: AbortSignal;
|
|
321
|
-
fetch?: typeof globalThis.fetch;
|
|
322
|
-
}
|
|
323
|
-
/** Fetch a private Tianditu VTS tile and return a standard MVT buffer. */
|
|
324
|
-
declare const loadAndNormalizeTdtVts: (url: string, options?: LoadTdtVtsOptions) => Promise<LoadedTdtTile>;
|
|
325
|
-
//#endregion
|
|
326
|
-
//#region src/tdt-vts/worker-client.d.ts
|
|
327
|
-
type DecodedTile = LoadedTdtTile;
|
|
328
|
-
interface DecodeTileOptions {
|
|
329
|
-
signal?: AbortSignal;
|
|
330
|
-
}
|
|
331
|
-
interface TdtDecoderWorkerClientOptions {
|
|
332
|
-
requestTimeoutMs?: number;
|
|
333
|
-
workerFactory?: () => Worker;
|
|
334
|
-
}
|
|
335
|
-
declare class TdtDecoderWorkerClient {
|
|
336
|
-
private readonly restoreMode;
|
|
337
|
-
private readonly worker;
|
|
338
|
-
private readonly pending;
|
|
339
|
-
private nextId;
|
|
340
|
-
private disposed;
|
|
341
|
-
private readonly requestTimeoutMs;
|
|
342
|
-
constructor(restoreMode: RestoreMode, options?: TdtDecoderWorkerClientOptions);
|
|
343
|
-
decode(url: string, options?: DecodeTileOptions): Promise<DecodedTile>;
|
|
344
|
-
dispose(): void;
|
|
345
|
-
private takePending;
|
|
346
|
-
private cancelRequest;
|
|
347
|
-
private fail;
|
|
348
|
-
private readonly handleMessage;
|
|
349
|
-
private readonly handleWorkerError;
|
|
350
|
-
}
|
|
351
|
-
//#endregion
|
|
352
155
|
//#region src/tdt-vts/source.d.ts
|
|
353
156
|
interface SourceDiagnostics {
|
|
354
157
|
onDecoded?: (stats: NormalizeStats & {
|
|
@@ -358,8 +161,9 @@ interface SourceDiagnostics {
|
|
|
358
161
|
onError?: (error: Error, redactedUrl: string) => void;
|
|
359
162
|
}
|
|
360
163
|
interface CreateTdtSourceOptions {
|
|
361
|
-
token
|
|
164
|
+
token?: string;
|
|
362
165
|
restoreMode: RestoreMode;
|
|
166
|
+
hosts: readonly [string, ...string[]];
|
|
363
167
|
minZoom?: number;
|
|
364
168
|
maxZoom?: number;
|
|
365
169
|
diagnostics?: SourceDiagnostics;
|
|
@@ -369,38 +173,55 @@ interface TdtSourceBundle {
|
|
|
369
173
|
source: VectorTileSource<FeatureLike>;
|
|
370
174
|
decoder: TdtDecoderWorkerClient;
|
|
371
175
|
}
|
|
372
|
-
|
|
176
|
+
interface CreateTdtVtsLayerOptions {
|
|
177
|
+
token?: string;
|
|
178
|
+
hosts: readonly [string, ...string[]];
|
|
179
|
+
style: string | TdtVtsStyle;
|
|
180
|
+
}
|
|
181
|
+
interface TdtVtsStyle {
|
|
182
|
+
version: 8;
|
|
183
|
+
sources: Record<string, Record<string, unknown>>;
|
|
184
|
+
layers: Array<{
|
|
185
|
+
id: string;
|
|
186
|
+
type: string;
|
|
187
|
+
layout?: Record<string, unknown>;
|
|
188
|
+
[key: string]: unknown;
|
|
189
|
+
}>;
|
|
190
|
+
[key: string]: unknown;
|
|
191
|
+
}
|
|
192
|
+
export declare const createTdtVectorSource: (options: CreateTdtSourceOptions) => TdtSourceBundle;
|
|
193
|
+
export declare const createTdtVtsLayer: (options: CreateTdtVtsLayerOptions) => Promise<VectorTileLayer<VectorTileSource<FeatureLike>>>;
|
|
373
194
|
//#endregion
|
|
374
195
|
//#region src/core/emitter.d.ts
|
|
375
196
|
declare const emitter: Emitter<Record<EventType, any>>;
|
|
376
197
|
//#endregion
|
|
377
198
|
//#region src/core/helper.d.ts
|
|
378
|
-
declare const getLayersDataList: () => any[];
|
|
199
|
+
export declare const getLayersDataList: () => any[];
|
|
379
200
|
//#endregion
|
|
380
201
|
//#region src/layer/ogc-utils.d.ts
|
|
381
202
|
/**
|
|
382
203
|
* 创建WMTS图层
|
|
383
204
|
* @param serverUrl
|
|
384
205
|
*/
|
|
385
|
-
declare const createWmtsLayer: (serverUrl: string) => (config: WmtsSourceOptions) => Promise<TileLayer>;
|
|
206
|
+
export declare const createWmtsLayer: (serverUrl: string) => (config: WmtsSourceOptions) => Promise<TileLayer>;
|
|
386
207
|
//#endregion
|
|
387
208
|
//#region src/layer/base-layer.d.ts
|
|
388
209
|
/**
|
|
389
210
|
* 创建杭州规自地图
|
|
390
211
|
* @param layerName - 'hzsyraster' | 'hzsyvector' | 'hzsyvector_dark'
|
|
391
212
|
*/
|
|
392
|
-
declare const createBaseLayer: (layerName?: HzsyType) => Tile<XYZ>;
|
|
213
|
+
export declare const createBaseLayer: (layerName?: HzsyType) => Tile<XYZ>;
|
|
393
214
|
/**
|
|
394
215
|
* 创建全国天地图
|
|
395
216
|
* @param layerName - 图层名称
|
|
396
217
|
* @param tk - 天地图TK
|
|
397
218
|
*/
|
|
398
|
-
declare const createMapWorldLayer: (layerName: WorldLayerType, tk?: string) => Tile<WMTS>;
|
|
219
|
+
export declare const createMapWorldLayer: (layerName: WorldLayerType, tk?: string) => Tile<WMTS>;
|
|
399
220
|
/**
|
|
400
221
|
* 创建天地图矢量/影像底图组合。
|
|
401
222
|
* @param tk - 天地图访问令牌
|
|
402
223
|
*/
|
|
403
|
-
declare const baseLayers: (tk: string) => {
|
|
224
|
+
export declare const baseLayers: (tk: string) => {
|
|
404
225
|
baseImgLayer: Tile<XYZ>;
|
|
405
226
|
baseCiaLayer: Tile<XYZ>;
|
|
406
227
|
baseVecLayer: Tile<XYZ>;
|
|
@@ -411,42 +232,42 @@ declare const baseLayers: (tk: string) => {
|
|
|
411
232
|
* @param layerName - 图层名称
|
|
412
233
|
* @param tk -
|
|
413
234
|
*/
|
|
414
|
-
declare const createZheJiangLayer: (layerName?: ZheJiangType, tk?: string) => Tile<XYZ>;
|
|
235
|
+
export declare const createZheJiangLayer: (layerName?: ZheJiangType, tk?: string) => Tile<XYZ>;
|
|
415
236
|
/**
|
|
416
237
|
* 根据图层名称获取图层
|
|
417
238
|
* @param name
|
|
418
239
|
*/
|
|
419
|
-
declare const getLayerByName: (name: string) => Layer<import("
|
|
240
|
+
export declare const getLayerByName: (name: string) => Layer<import("ol/source").Source, import("ol/renderer/Layer").default<any>, {
|
|
420
241
|
[x: string]: any;
|
|
421
|
-
}>
|
|
242
|
+
}>[];
|
|
422
243
|
/**
|
|
423
244
|
* 根据图层名称删除图层
|
|
424
245
|
* @param name
|
|
425
246
|
*/
|
|
426
|
-
declare const removeLayerByName: (name: string) => void;
|
|
247
|
+
export declare const removeLayerByName: (name: string) => void;
|
|
427
248
|
//#endregion
|
|
428
249
|
//#region src/layer/raster-layer.d.ts
|
|
429
250
|
interface RasterTransformOptions {
|
|
430
251
|
threads?: number;
|
|
431
252
|
}
|
|
432
253
|
/** 使用 RGB 比例和目标颜色转换栅格图层。 */
|
|
433
|
-
declare const changeSource: (layer: Layer$1, rgbColorArray: number[], ratioArray: number[], options?: RasterTransformOptions) => RasterSource;
|
|
254
|
+
export declare const changeSource: (layer: Layer$1, rgbColorArray: number[], ratioArray: number[], options?: RasterTransformOptions) => RasterSource;
|
|
434
255
|
/** 使用 changeSource 创建可显示的 VectorImageLayer。 */
|
|
435
|
-
declare const changeLayer: (layer: Layer$1, rgbColorArray: number[], ratioArray: number[], options?: RasterTransformOptions) => VectorImageLayer<RasterSource>;
|
|
256
|
+
export declare const changeLayer: (layer: Layer$1, rgbColorArray: number[], ratioArray: number[], options?: RasterTransformOptions) => VectorImageLayer<RasterSource>;
|
|
436
257
|
//#endregion
|
|
437
258
|
//#region src/core/map-context.d.ts
|
|
438
259
|
/** 当前 OpenLayers 单例。集中存放以避免业务模块之间互相引用。 */
|
|
439
|
-
declare let instance: CustomMap;
|
|
260
|
+
export declare let instance: CustomMap;
|
|
440
261
|
//#endregion
|
|
441
262
|
//#region src/map/create-map.d.ts
|
|
442
|
-
declare const createMapInstance: (config?: {}) => CustomMap;
|
|
443
|
-
declare const createMap: (config?: {}) => CustomMap;
|
|
444
|
-
declare const disposeMap: () => void;
|
|
263
|
+
export declare const createMapInstance: (config?: {}) => CustomMap;
|
|
264
|
+
export declare const createMap: (config?: {}) => CustomMap;
|
|
265
|
+
export declare const disposeMap: () => void;
|
|
445
266
|
/** 兼容别名;复用 map-ol-utils 现有的完整销毁语义。 */
|
|
446
|
-
declare const disposeInstance: () => void;
|
|
447
|
-
declare const getMapInstance: () => CustomMap;
|
|
448
|
-
declare const resetZoomAndCenter: (center?: [number, number]) => void;
|
|
449
|
-
declare const resetMap: (config?: {
|
|
267
|
+
export declare const disposeInstance: () => void;
|
|
268
|
+
export declare const getMapInstance: () => CustomMap;
|
|
269
|
+
export declare const resetZoomAndCenter: (center?: [number, number]) => void;
|
|
270
|
+
export declare const resetMap: (config?: {
|
|
450
271
|
center: [number, number];
|
|
451
272
|
isClearAll: boolean;
|
|
452
273
|
}) => void;
|
|
@@ -456,18 +277,18 @@ declare const resetMap: (config?: {
|
|
|
456
277
|
* 移除带指定属性键的 Overlay(默认按 'position')
|
|
457
278
|
* @param key
|
|
458
279
|
*/
|
|
459
|
-
declare const removeOverlays: (key?: string) => void;
|
|
280
|
+
export declare const removeOverlays: (key?: string) => void;
|
|
460
281
|
/**
|
|
461
282
|
* 创建动画标注 Overlay
|
|
462
283
|
* @param imgUrl
|
|
463
284
|
* @param data
|
|
464
285
|
*/
|
|
465
|
-
declare const createAnimationMarker: (imgUrl: string, data: MassData) => void;
|
|
286
|
+
export declare const createAnimationMarker: (imgUrl: string, data: MassData) => void;
|
|
466
287
|
/**
|
|
467
288
|
* 创建 Overlay
|
|
468
289
|
* @param config
|
|
469
290
|
*/
|
|
470
|
-
declare const createOverlay: (config?: Options) => Overlay;
|
|
291
|
+
export declare const createOverlay: (config?: Options) => Overlay;
|
|
471
292
|
//#endregion
|
|
472
293
|
//#region src/map/view-fit.d.ts
|
|
473
294
|
/**
|
|
@@ -476,72 +297,72 @@ declare const createOverlay: (config?: Options) => Overlay;
|
|
|
476
297
|
* @param mapInstance
|
|
477
298
|
* @param fitOptions
|
|
478
299
|
*/
|
|
479
|
-
declare const setFitViewByCoords: (coords: Array<Coordinate>, mapInstance?: CustomMap, fitOptions?: FitOptions | AnimationOptions) => void;
|
|
300
|
+
export declare const setFitViewByCoords: (coords: Array<Coordinate>, mapInstance?: CustomMap, fitOptions?: FitOptions | AnimationOptions) => void;
|
|
480
301
|
/**
|
|
481
302
|
* 根据 SimpleGeometry Fit
|
|
482
303
|
* @param geom
|
|
483
304
|
* @param mapInstance
|
|
484
305
|
* @param fitOptions
|
|
485
306
|
*/
|
|
486
|
-
declare const setFitViewByGeom: (geom: SimpleGeometry, mapInstance?: CustomMap, fitOptions?: FitOptions) => void;
|
|
307
|
+
export declare const setFitViewByGeom: (geom: SimpleGeometry, mapInstance?: CustomMap, fitOptions?: FitOptions) => void;
|
|
487
308
|
/**
|
|
488
309
|
* 根据 VectorLayer 要素的四至信息 Fit
|
|
489
310
|
* @param layer
|
|
490
311
|
* @param mapInstance
|
|
491
312
|
* @param fitOptions
|
|
492
313
|
*/
|
|
493
|
-
declare const setFitViewByLayer: (layer: VectorLayer, mapInstance?: CustomMap, fitOptions?: FitOptions) => void;
|
|
314
|
+
export declare const setFitViewByLayer: (layer: VectorLayer, mapInstance?: CustomMap, fitOptions?: FitOptions) => void;
|
|
494
315
|
/** 使用两段缩放动画飞到目标位置。 */
|
|
495
|
-
declare const flyToAnimate: (center: Array<any>[number], zoom?: number) => void;
|
|
316
|
+
export declare const flyToAnimate: (center: Array<any>[number], zoom?: number) => void;
|
|
496
317
|
//#endregion
|
|
497
318
|
//#region src/interaction/select.d.ts
|
|
498
319
|
/**
|
|
499
320
|
* 创建点击交互
|
|
500
321
|
* @param vectorLayer
|
|
501
322
|
*/
|
|
502
|
-
declare const createSelectByLayer: (vectorLayer: VectorLayer) => Select;
|
|
323
|
+
export declare const createSelectByLayer: (vectorLayer: VectorLayer) => Select;
|
|
503
324
|
/** 按多个 className 创建选择交互。 */
|
|
504
|
-
declare const createLayerSelectByNames: (layerNames: Array<string>, selectedHandler?: (feature: Feature) => void, unSelectHandler?: (feature: Feature) => void) => Select;
|
|
325
|
+
export declare const createLayerSelectByNames: (layerNames: Array<string>, selectedHandler?: (feature: Feature) => void, unSelectHandler?: (feature: Feature) => void) => Select;
|
|
505
326
|
//#endregion
|
|
506
327
|
//#region src/interaction/draw.d.ts
|
|
507
328
|
/** 为绘制中的线和面追加长度/面积标签。 */
|
|
508
|
-
declare const getDrawStyle: (feature: FeatureLike, drawStyle?: Style | undefined) => Style[];
|
|
329
|
+
export declare const getDrawStyle: (feature: FeatureLike, drawStyle?: Style | undefined) => Style[];
|
|
509
330
|
/** 创建绘制交互。 */
|
|
510
|
-
declare const createDrawInteraction: (type: Type | undefined, vectorLayer: VectorLayer, openTip?: boolean) => Draw;
|
|
331
|
+
export declare const createDrawInteraction: (type: Type | undefined, vectorLayer: VectorLayer, openTip?: boolean) => Draw;
|
|
511
332
|
//#endregion
|
|
512
333
|
//#region src/layer/geojson-layer.d.ts
|
|
513
334
|
/** 直接从 GeoJSON 创建矢量图层。 */
|
|
514
|
-
declare const createGeoJsonLayer: (geoJson: any, style: StyleLike | FlatStyleLike | null | undefined, config?: LayerConfig) => VectorLayer<VectorSource<import("
|
|
335
|
+
export declare const createGeoJsonLayer: (geoJson: any, style: StyleLike | FlatStyleLike | null | undefined, config?: LayerConfig) => VectorLayer<VectorSource<import("ol").Feature<import("ol/geom").Geometry, {
|
|
515
336
|
[x: string]: any;
|
|
516
|
-
}>>, import("
|
|
337
|
+
}>>, import("ol").Feature<import("ol/geom").Geometry, {
|
|
517
338
|
[x: string]: any;
|
|
518
339
|
}>>;
|
|
519
340
|
//#endregion
|
|
520
341
|
//#region src/layer/marker-layer.d.ts
|
|
521
342
|
/** 创建 Marker 文本标注。 */
|
|
522
|
-
declare const createText: (item: DataItemConfig) => Text;
|
|
343
|
+
export declare const createText: (item: DataItemConfig) => Text;
|
|
523
344
|
/** 创建 Marker 默认态或激活态样式。 */
|
|
524
|
-
declare const createIconStyle: (item: DataItemConfig, active?: boolean) => Style;
|
|
345
|
+
export declare const createIconStyle: (item: DataItemConfig, active?: boolean) => Style;
|
|
525
346
|
/** 创建带 data 属性约定的 Marker Feature。 */
|
|
526
|
-
declare const createMarker: (item: DataItemConfig, config: LayerConfig) => Feature$1<Point$1, {
|
|
347
|
+
export declare const createMarker: (item: DataItemConfig, config: LayerConfig) => Feature$1<Point$1, {
|
|
527
348
|
[x: string]: any;
|
|
528
349
|
}>;
|
|
529
350
|
/** 批量创建 Marker 矢量图层。 */
|
|
530
|
-
declare const createMarkersLayer: (dataList: Array<DataItemConfig>, config: LayerConfig) => VectorLayer<VectorSource<Feature$1<Geometry, {
|
|
351
|
+
export declare const createMarkersLayer: (dataList: Array<DataItemConfig>, config: LayerConfig) => VectorLayer<VectorSource<Feature$1<Geometry, {
|
|
531
352
|
[x: string]: any;
|
|
532
353
|
}>>, Feature$1<Geometry, {
|
|
533
354
|
[x: string]: any;
|
|
534
355
|
}>>;
|
|
535
356
|
/** 清空外部选择集合并恢复 Marker 未选中样式。 */
|
|
536
|
-
declare const changeUnselectStyle: (featureList: Collection<Feature$1>) => void;
|
|
357
|
+
export declare const changeUnselectStyle: (featureList: Collection<Feature$1>) => void;
|
|
537
358
|
/** 创建随缩放级别切换小图/大图的 Marker 图层。 */
|
|
538
|
-
declare const createElasticMarkerLayer: (dataList: Array<ElasticDataItemConfig>, config: LayerConfig) => VectorLayer<VectorSource<Feature$1<Geometry, {
|
|
359
|
+
export declare const createElasticMarkerLayer: (dataList: Array<ElasticDataItemConfig>, config: LayerConfig) => VectorLayer<VectorSource<Feature$1<Geometry, {
|
|
539
360
|
[x: string]: any;
|
|
540
361
|
}>>, Feature$1<Geometry, {
|
|
541
362
|
[x: string]: any;
|
|
542
363
|
}>>;
|
|
543
364
|
/** 创建单 Marker 图层并直接加入当前地图实例。 */
|
|
544
|
-
declare const createMoveMarkerLayer: (dataItem: DataItemConfig, config: LayerConfig) => {
|
|
365
|
+
export declare const createMoveMarkerLayer: (dataItem: DataItemConfig, config: LayerConfig) => {
|
|
545
366
|
vectorLayer: VectorLayer<VectorSource<Feature$1<Point$1, {
|
|
546
367
|
[x: string]: any;
|
|
547
368
|
}>>, Feature$1<Point$1, {
|
|
@@ -553,20 +374,20 @@ declare const createMoveMarkerLayer: (dataItem: DataItemConfig, config: LayerCon
|
|
|
553
374
|
/**
|
|
554
375
|
* 重置激活的矢量数据(清空 overlay 与各图层选择交互的要素集合)
|
|
555
376
|
*/
|
|
556
|
-
declare const resetActiveVector: () => void;
|
|
377
|
+
export declare const resetActiveVector: () => void;
|
|
557
378
|
/**
|
|
558
379
|
* 移除覆盖物以及所有非底图自定义图层
|
|
559
380
|
*/
|
|
560
|
-
declare const removeAllLayers: () => void;
|
|
381
|
+
export declare const removeAllLayers: () => void;
|
|
561
382
|
/**
|
|
562
383
|
* 重置激活 Feature
|
|
563
384
|
*/
|
|
564
|
-
declare const resetActiveFeature: () => void;
|
|
385
|
+
export declare const resetActiveFeature: () => void;
|
|
565
386
|
/**
|
|
566
387
|
* 按 _uuid 激活要素
|
|
567
388
|
* @param uid
|
|
568
389
|
*/
|
|
569
|
-
declare const activeFeatureByUid: (uid: string) => void;
|
|
390
|
+
export declare const activeFeatureByUid: (uid: string) => void;
|
|
570
391
|
//#endregion
|
|
571
392
|
//#region src/layer/vector-layer.d.ts
|
|
572
393
|
/**
|
|
@@ -574,9 +395,9 @@ declare const activeFeatureByUid: (uid: string) => void;
|
|
|
574
395
|
* @param dataList
|
|
575
396
|
* @param config
|
|
576
397
|
*/
|
|
577
|
-
declare const createBusinessLayer: (dataList: MassData[], config: VectorConfig) => VectorLayer<VectorSource<Feature<import("
|
|
398
|
+
export declare const createBusinessLayer: (dataList: MassData[], config: VectorConfig) => VectorLayer<VectorSource<Feature<import("ol/geom").Geometry, {
|
|
578
399
|
[x: string]: any;
|
|
579
|
-
}>>, Feature<import("
|
|
400
|
+
}>>, Feature<import("ol/geom").Geometry, {
|
|
580
401
|
[x: string]: any;
|
|
581
402
|
}>>;
|
|
582
403
|
/**
|
|
@@ -585,15 +406,15 @@ declare const createBusinessLayer: (dataList: MassData[], config: VectorConfig)
|
|
|
585
406
|
* @param dataList
|
|
586
407
|
* @param crsForm
|
|
587
408
|
*/
|
|
588
|
-
declare const appendFeaturesByLayer: (targetLayer: VectorLayer, dataList: MassData[], crsForm?: CRSTypes) => void;
|
|
409
|
+
export declare const appendFeaturesByLayer: (targetLayer: VectorLayer, dataList: MassData[], crsForm?: CRSTypes) => void;
|
|
589
410
|
/**
|
|
590
411
|
* 创建面状图层
|
|
591
412
|
* @param dataList
|
|
592
413
|
* @param config
|
|
593
414
|
*/
|
|
594
|
-
declare const createVectorFaceLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<import("
|
|
415
|
+
export declare const createVectorFaceLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<import("ol/geom").Geometry, {
|
|
595
416
|
[x: string]: any;
|
|
596
|
-
}>>, Feature<import("
|
|
417
|
+
}>>, Feature<import("ol/geom").Geometry, {
|
|
597
418
|
[x: string]: any;
|
|
598
419
|
}>>;
|
|
599
420
|
/**
|
|
@@ -601,9 +422,9 @@ declare const createVectorFaceLayer: (dataList: MassData[] | undefined, config:
|
|
|
601
422
|
* @param dataList
|
|
602
423
|
* @param config
|
|
603
424
|
*/
|
|
604
|
-
declare const createVectorLineLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<import("
|
|
425
|
+
export declare const createVectorLineLayer: (dataList: MassData[] | undefined, config: VectorConfig) => VectorLayer<VectorSource<Feature<import("ol/geom").Geometry, {
|
|
605
426
|
[x: string]: any;
|
|
606
|
-
}>>, Feature<import("
|
|
427
|
+
}>>, Feature<import("ol/geom").Geometry, {
|
|
607
428
|
[x: string]: any;
|
|
608
429
|
}>>;
|
|
609
430
|
//#endregion
|
|
@@ -611,14 +432,14 @@ declare const createVectorLineLayer: (dataList: MassData[] | undefined, config:
|
|
|
611
432
|
/**
|
|
612
433
|
* 构建 MassMarks 样式数组(默认段 + 激活段,长度 statusNum * 2)
|
|
613
434
|
*/
|
|
614
|
-
declare const buildMassMarksStyles: (getImgUrlFn: GetImgUrlFn) => (iconConfig: IconConfig) => any[];
|
|
435
|
+
export declare const buildMassMarksStyles: (getImgUrlFn: GetImgUrlFn) => (iconConfig: IconConfig) => any[];
|
|
615
436
|
/**
|
|
616
437
|
* 向海量点图层增量添加 Features
|
|
617
438
|
* @param targetLayer
|
|
618
439
|
* @param dataList
|
|
619
440
|
* @param config
|
|
620
441
|
*/
|
|
621
|
-
declare const addFeaturesByLayer: (targetLayer: VectorLayer, dataList: MassData[], config?: {
|
|
442
|
+
export declare const addFeaturesByLayer: (targetLayer: VectorLayer, dataList: MassData[], config?: {
|
|
622
443
|
clear?: boolean;
|
|
623
444
|
}) => void;
|
|
624
445
|
/**
|
|
@@ -626,7 +447,7 @@ declare const addFeaturesByLayer: (targetLayer: VectorLayer, dataList: MassData[
|
|
|
626
447
|
* @param dataList
|
|
627
448
|
* @param styleList
|
|
628
449
|
*/
|
|
629
|
-
declare const createMassMarksLayer: (dataList: MassData[], styleList?: StyleLike[]) => VectorLayer<VectorSource<Feature<Point, {
|
|
450
|
+
export declare const createMassMarksLayer: (dataList: MassData[], styleList?: StyleLike[]) => VectorLayer<VectorSource<Feature<Point, {
|
|
630
451
|
[x: string]: any;
|
|
631
452
|
}>>, Feature<Point, {
|
|
632
453
|
[x: string]: any;
|
|
@@ -635,7 +456,7 @@ declare const createMassMarksLayer: (dataList: MassData[], styleList?: StyleLike
|
|
|
635
456
|
* 添加 massMarksLayer(按需附带线/面图层)
|
|
636
457
|
* @param getImgUrlFn
|
|
637
458
|
*/
|
|
638
|
-
declare const addMassMarksLayer: (getImgUrlFn: GetImgUrlFn) => (dataList: never[] | undefined, iconConfig: IconConfig, openClick?: boolean) => VectorLayer<VectorSource<Feature<Point, {
|
|
459
|
+
export declare const addMassMarksLayer: (getImgUrlFn: GetImgUrlFn) => (dataList: never[] | undefined, iconConfig: IconConfig, openClick?: boolean) => VectorLayer<VectorSource<Feature<Point, {
|
|
639
460
|
[x: string]: any;
|
|
640
461
|
}>>, Feature<Point, {
|
|
641
462
|
[x: string]: any;
|
|
@@ -644,7 +465,7 @@ declare const addMassMarksLayer: (getImgUrlFn: GetImgUrlFn) => (dataList: never[
|
|
|
644
465
|
* 按选中状态列表更新海量点显隐
|
|
645
466
|
* @param checkedStatusList
|
|
646
467
|
*/
|
|
647
|
-
declare const updateMarksLayersByStatus: (checkedStatusList?: string[]) => MassData[];
|
|
468
|
+
export declare const updateMarksLayersByStatus: (checkedStatusList?: string[]) => MassData[];
|
|
648
469
|
//#endregion
|
|
649
470
|
//#region src/layer/cluster-layer.d.ts
|
|
650
471
|
/**
|
|
@@ -652,10 +473,10 @@ declare const updateMarksLayersByStatus: (checkedStatusList?: string[]) => MassD
|
|
|
652
473
|
* @param dataList
|
|
653
474
|
* @param config
|
|
654
475
|
*/
|
|
655
|
-
declare const createClusterLayer: (dataList: ClusterData[], config: ClusterConfig) => VectorLayer<Cluster<Feature<Point, {
|
|
476
|
+
export declare const createClusterLayer: (dataList: ClusterData[], config: ClusterConfig) => VectorLayer<Cluster<Feature<Point, {
|
|
656
477
|
[x: string]: any;
|
|
657
|
-
}>>, Feature<import("
|
|
478
|
+
}>>, Feature<import("ol/geom").Geometry, {
|
|
658
479
|
[x: string]: any;
|
|
659
480
|
}>>;
|
|
660
481
|
//#endregion
|
|
661
|
-
export {
|
|
482
|
+
export { type CreateTdtSourceOptions, type CreateTdtVtsLayerOptions, type SourceDiagnostics, type TdtSourceBundle, type TdtVtsStyle, emitter };
|