@maptiler/geocoding-control 1.4.2-dev.3 → 2.0.0-rc.2

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.
Files changed (74) hide show
  1. package/MapLibreBasedGeocodingControl.d.ts +2659 -35
  2. package/leaflet-controller.d.ts +1 -1
  3. package/leaflet-controller.js +580 -569
  4. package/leaflet-controller.js.map +1 -1
  5. package/leaflet-controller.umd.js +3 -3
  6. package/leaflet-controller.umd.js.map +1 -1
  7. package/leaflet.d.ts +74 -16
  8. package/leaflet.js +1396 -1369
  9. package/leaflet.js.map +1 -1
  10. package/leaflet.umd.js +3 -3
  11. package/leaflet.umd.js.map +1 -1
  12. package/maplibregl-controller.d.ts +7 -7
  13. package/maplibregl-controller.js +683 -661
  14. package/maplibregl-controller.js.map +1 -1
  15. package/maplibregl-controller.umd.js +3 -3
  16. package/maplibregl-controller.umd.js.map +1 -1
  17. package/maplibregl.d.ts +2614 -5
  18. package/maplibregl.js +1563 -1418
  19. package/maplibregl.js.map +1 -1
  20. package/maplibregl.umd.js +3 -3
  21. package/maplibregl.umd.js.map +1 -1
  22. package/maptilersdk.d.ts +2614 -5
  23. package/maptilersdk.js +1574 -1426
  24. package/maptilersdk.js.map +1 -1
  25. package/maptilersdk.umd.js +3 -3
  26. package/maptilersdk.umd.js.map +1 -1
  27. package/openlayers-controller.d.ts +1 -1
  28. package/openlayers-controller.js +308 -306
  29. package/openlayers-controller.js.map +1 -1
  30. package/openlayers-controller.umd.js +3 -3
  31. package/openlayers-controller.umd.js.map +1 -1
  32. package/openlayers.d.ts +21 -0
  33. package/openlayers.js +1300 -1318
  34. package/openlayers.js.map +1 -1
  35. package/openlayers.umd.js +3 -3
  36. package/openlayers.umd.js.map +1 -1
  37. package/package.json +17 -17
  38. package/react.d.ts +4 -4
  39. package/react.js +811 -798
  40. package/react.js.map +1 -1
  41. package/react.umd.js +1 -1
  42. package/react.umd.js.map +1 -1
  43. package/style.css +1 -1
  44. package/svelte/FeatureItem.svelte +1 -1
  45. package/svelte/FeatureItem.svelte.d.ts +1 -1
  46. package/svelte/GeocodingControl.svelte +68 -46
  47. package/svelte/GeocodingControl.svelte.d.ts +25 -11
  48. package/svelte/MapLibreBasedGeocodingControl.d.ts +2659 -35
  49. package/svelte/MapLibreBasedGeocodingControl.js +165 -58
  50. package/svelte/leaflet-controller.d.ts +1 -1
  51. package/svelte/leaflet-controller.js +50 -24
  52. package/svelte/leaflet.d.ts +74 -16
  53. package/svelte/leaflet.js +26 -15
  54. package/svelte/maplibregl-controller.d.ts +7 -7
  55. package/svelte/maplibregl-controller.js +96 -66
  56. package/svelte/maplibregl.d.ts +2614 -5
  57. package/svelte/maplibregl.js +10 -7
  58. package/svelte/maptilersdk.d.ts +2614 -5
  59. package/svelte/maptilersdk.js +23 -18
  60. package/svelte/openlayers-controller.d.ts +1 -1
  61. package/svelte/openlayers-controller.js +4 -1
  62. package/svelte/openlayers.d.ts +21 -0
  63. package/svelte/openlayers.js +31 -45
  64. package/svelte/react.d.ts +4 -4
  65. package/svelte/react.js +5 -5
  66. package/svelte/types.d.ts +72 -30
  67. package/svelte/vanilla.d.ts +14 -1
  68. package/svelte/vanilla.js +31 -8
  69. package/types.d.ts +72 -30
  70. package/vanilla.d.ts +14 -1
  71. package/vanilla.js +837 -796
  72. package/vanilla.js.map +1 -1
  73. package/vanilla.umd.js +1 -1
  74. package/vanilla.umd.js.map +1 -1
@@ -1,54 +1,2678 @@
1
- import type * as maplibregl from "maplibre-gl";
2
- import type { FillLayerSpecification, FitBoundsOptions, FlyToOptions, LineLayerSpecification, Map, MarkerOptions } from "maplibre-gl";
1
+ import type { Evented, FitBoundsOptions, FlyToOptions, Map, Marker, MarkerOptions } from "maplibre-gl";
3
2
  import type { SvelteComponent } from "svelte";
4
3
  import GeocodingControlComponent from "./GeocodingControl.svelte";
5
- import type { ControlOptions } from "./types";
6
- export { createMapLibreGlMapController } from "./maplibregl-controller";
4
+ import { type FullGeometryStyle, type MapLibreGL } from "./maplibregl-controller";
5
+ import type { ControlOptions, Feature, FeatureCollection } from "./types";
6
+ export { createMapLibreGlMapController, type MapLibreGL, } from "./maplibregl-controller";
7
7
  export type MapLibreBaseControlOptions = Omit<ControlOptions, "apiKey"> & {
8
8
  /**
9
- * If `true`, a [Marker](https://maplibre.org/maplibre-gl-js-docs/api/markers/#marker) will be added to the map at the location of the user-selected result using a default set of Marker options.
10
- * If the value is an object, the marker will be constructed using these options.
11
- * If `false`, no marker will be added to the map.
9
+ * Marker to be added to the map at the location of the user-selected result using a default set of Marker options.
10
+ *
11
+ * - If `true` or `undefined` then a default marker will be used.
12
+ * - If the value is a [MarkerOptions](https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/MarkerOptions/) then the marker will be constructed using these options.
13
+ * - If the value is a function then it can return instance of the [Marker](https://maplibre.org/maplibre-gl-js/docs/API/classes/Marker/).
14
+ * Function can accept `Feature` as a parameter which is `undefined` for the reverse location marker.
15
+ * - If `false` or `null` then no marker will be added to the map.
16
+ *
12
17
  * Requires that `options.maplibregl` also be set.
18
+ *
13
19
  * Default value is `true`.
14
20
  */
15
- marker?: boolean | MarkerOptions;
21
+ marker?: null | boolean | MarkerOptions | ((map: Map, feature?: Feature) => undefined | null | Marker);
16
22
  /**
17
- * If `true`, [Markers](https://maplibre.org/maplibre-gl-js-docs/api/markers/#marker) will be added to the map at the location the top results for the query.
18
- * If the value is an object, the marker will be constructed using these options.
19
- * If `false`, no marker will be added to the map.
23
+ * Marker be added to the map at the location the geocoding results.
24
+ *
25
+ * - If `true` or `undefined` then a default marker will be used.
26
+ * - If the value is a [MarkerOptions](https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/MarkerOptions/) then the marker will be constructed using these options.
27
+ * - If the value is a function then it can return instance of the [Marker](https://maplibre.org/maplibre-gl-js/docs/API/classes/Marker/).
28
+ * In this case the default pop-up won't be added to the marker.
29
+ * Function can accept `Feature` as a parameter.
30
+ * - If `false` or `null` then no marker will be added to the map.
31
+ *
20
32
  * Requires that `options.maplibregl` also be set.
33
+ *
21
34
  * Default value is `true`.
22
35
  */
23
- showResultMarkers?: boolean | MarkerOptions;
36
+ showResultMarkers?: null | boolean | MarkerOptions | ((map: Map, feature: Feature) => undefined | null | Marker);
24
37
  /**
25
- * If `false`, animating the map to a selected result is disabled.
26
- * If `true`, animating the map will use the default animation parameters.
27
- * If an object, it will be passed as options to the map `flyTo` or `fitBounds` method providing control over the animation of the transition.
38
+ * Animation to selected feature on the map.
39
+ *
40
+ * - If `false` or `null` then animating the map to a selected result is disabled.
41
+ * - If `true` or `undefined` then animating the map will use the default animation parameters.
42
+ * - If an [FlyToOptions](https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/FlyToOptions/)
43
+ * ` & `[FitBoundsOptions](https://maplibre.org/maplibre-gl-js/docs/API/type-aliases/FitBoundsOptions/)
44
+ * then it will be passed as options to the map [flyTo](https://maplibre.org/maplibre-gl-js/docs/API/classes/Map/#flyto)
45
+ * or [fitBounds](https://maplibre.org/maplibre-gl-js/docs/API/classes/Map/#fitbounds) method providing control over the animation of the transition.
46
+ *
28
47
  * Default value is `true`.
29
48
  */
30
- flyTo?: boolean | (FlyToOptions & FitBoundsOptions);
49
+ flyTo?: null | boolean | (FlyToOptions & FitBoundsOptions);
31
50
  /**
32
51
  * Style for full feature geometry GeoJSON.
52
+ *
53
+ * - If `false` or `null` then no full geometry is drawn.
54
+ * - If `true` or `undefined` then default-styled full geometry is drawn.
55
+ * - If an T then it must represent the style and will be used to style the full geometry.
56
+ *
57
+ * Default is the default style.
33
58
  */
34
- fullGeometryStyle?: {
35
- fill: Pick<FillLayerSpecification, "layout" | "paint" | "filter">;
36
- line: Pick<LineLayerSpecification, "layout" | "paint" | "filter">;
37
- };
59
+ fullGeometryStyle?: null | boolean | FullGeometryStyle;
38
60
  };
39
61
  export type Props<T> = T extends SvelteComponent<infer P> ? P : never;
40
- export declare abstract class MapLibreBasedGeocodingControl<T extends MapLibreBaseControlOptions> extends EventTarget {
41
- #private;
42
- constructor(options?: T);
43
- abstract getExtraProps(map: Map, div: HTMLElement): Partial<Props<GeocodingControlComponent>>;
44
- onAddInt(map: Map): HTMLElement;
45
- abstract getMapLibreGl(): typeof maplibregl;
46
- setOptions(options: T): void;
47
- setQuery(value: string, submit?: boolean): void;
48
- clearMap(): void;
49
- clearList(): void;
50
- setReverseMode(value: boolean): void;
51
- focus(): void;
52
- blur(): void;
53
- onRemove(): void;
54
- }
62
+ type EventedConstructor = new (...args: ConstructorParameters<typeof Evented>) => Evented;
63
+ export declare function crateClasses<OPTS extends MapLibreBaseControlOptions>(Evented: EventedConstructor, maplibreGl: MapLibreGL, getExtraProps?: (map: Map, div: HTMLElement) => Partial<Props<GeocodingControlComponent>>): {
64
+ MapLibreBasedGeocodingControl: {
65
+ new (options?: OPTS): {
66
+ "__#1@#gc"?: GeocodingControlComponent;
67
+ "__#1@#options": OPTS;
68
+ onAddInt(map: Map): HTMLElement;
69
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
70
+ select: {
71
+ feature: Feature | undefined;
72
+ readonly type: "select";
73
+ readonly target: any;
74
+ };
75
+ featureslisted: {
76
+ features: Feature[] | undefined;
77
+ readonly type: "featureslisted";
78
+ readonly target: any;
79
+ };
80
+ featuresmarked: {
81
+ features: Feature[] | undefined;
82
+ readonly type: "featuresmarked";
83
+ readonly target: any;
84
+ };
85
+ optionsvisibilitychange: {
86
+ optionsVisible: boolean;
87
+ readonly type: "optionsvisibilitychange";
88
+ readonly target: any;
89
+ };
90
+ pick: {
91
+ feature: Feature | undefined;
92
+ readonly type: "pick";
93
+ readonly target: any;
94
+ };
95
+ querychange: {
96
+ query: string;
97
+ readonly type: "querychange";
98
+ readonly target: any;
99
+ };
100
+ response: {
101
+ url: string;
102
+ featureCollection: FeatureCollection;
103
+ readonly type: "response";
104
+ readonly target: any;
105
+ };
106
+ reversetoggle: {
107
+ reverse: boolean;
108
+ readonly type: "reversetoggle";
109
+ readonly target: any;
110
+ };
111
+ }[T]) => void): any;
112
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
113
+ select: {
114
+ feature: Feature | undefined;
115
+ readonly type: "select";
116
+ readonly target: any;
117
+ };
118
+ featureslisted: {
119
+ features: Feature[] | undefined;
120
+ readonly type: "featureslisted";
121
+ readonly target: any;
122
+ };
123
+ featuresmarked: {
124
+ features: Feature[] | undefined;
125
+ readonly type: "featuresmarked";
126
+ readonly target: any;
127
+ };
128
+ optionsvisibilitychange: {
129
+ optionsVisible: boolean;
130
+ readonly type: "optionsvisibilitychange";
131
+ readonly target: any;
132
+ };
133
+ pick: {
134
+ feature: Feature | undefined;
135
+ readonly type: "pick";
136
+ readonly target: any;
137
+ };
138
+ querychange: {
139
+ query: string;
140
+ readonly type: "querychange";
141
+ readonly target: any;
142
+ };
143
+ response: {
144
+ url: string;
145
+ featureCollection: FeatureCollection;
146
+ readonly type: "response";
147
+ readonly target: any;
148
+ };
149
+ reversetoggle: {
150
+ reverse: boolean;
151
+ readonly type: "reversetoggle";
152
+ readonly target: any;
153
+ };
154
+ }[T]) => void): any;
155
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
156
+ select: {
157
+ feature: Feature | undefined;
158
+ readonly type: "select";
159
+ readonly target: any;
160
+ };
161
+ featureslisted: {
162
+ features: Feature[] | undefined;
163
+ readonly type: "featureslisted";
164
+ readonly target: any;
165
+ };
166
+ featuresmarked: {
167
+ features: Feature[] | undefined;
168
+ readonly type: "featuresmarked";
169
+ readonly target: any;
170
+ };
171
+ optionsvisibilitychange: {
172
+ optionsVisible: boolean;
173
+ readonly type: "optionsvisibilitychange";
174
+ readonly target: any;
175
+ };
176
+ pick: {
177
+ feature: Feature | undefined;
178
+ readonly type: "pick";
179
+ readonly target: any;
180
+ };
181
+ querychange: {
182
+ query: string;
183
+ readonly type: "querychange";
184
+ readonly target: any;
185
+ };
186
+ response: {
187
+ url: string;
188
+ featureCollection: FeatureCollection;
189
+ readonly type: "response";
190
+ readonly target: any;
191
+ };
192
+ reversetoggle: {
193
+ reverse: boolean;
194
+ readonly type: "reversetoggle";
195
+ readonly target: any;
196
+ };
197
+ }[T]) => void): any;
198
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
199
+ setOptions(options: OPTS): void;
200
+ setQuery(value: string, submit?: boolean): void;
201
+ clearMap(): void;
202
+ clearList(): void;
203
+ setReverseMode(value: boolean): void;
204
+ focus(): void;
205
+ blur(): void;
206
+ onRemove(): void;
207
+ _listeners: import("maplibre-gl").Listeners;
208
+ _oneTimeListeners: import("maplibre-gl").Listeners;
209
+ _eventedParent: Evented;
210
+ _eventedParentData: any | (() => any);
211
+ fire(event: {
212
+ readonly type: string;
213
+ } | string, properties?: any): any;
214
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
215
+ };
216
+ };
217
+ events: {
218
+ SelectEvent: {
219
+ new (target: {
220
+ "__#1@#gc"?: GeocodingControlComponent;
221
+ "__#1@#options": OPTS;
222
+ onAddInt(map: Map): HTMLElement;
223
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
224
+ select: {
225
+ feature: Feature | undefined;
226
+ readonly type: "select";
227
+ readonly target: any;
228
+ };
229
+ featureslisted: {
230
+ features: Feature[] | undefined;
231
+ readonly type: "featureslisted";
232
+ readonly target: any;
233
+ };
234
+ featuresmarked: {
235
+ features: Feature[] | undefined;
236
+ readonly type: "featuresmarked";
237
+ readonly target: any;
238
+ };
239
+ optionsvisibilitychange: {
240
+ optionsVisible: boolean;
241
+ readonly type: "optionsvisibilitychange";
242
+ readonly target: any;
243
+ };
244
+ pick: {
245
+ feature: Feature | undefined;
246
+ readonly type: "pick";
247
+ readonly target: any;
248
+ };
249
+ querychange: {
250
+ query: string;
251
+ readonly type: "querychange";
252
+ readonly target: any;
253
+ };
254
+ response: {
255
+ url: string;
256
+ featureCollection: FeatureCollection;
257
+ readonly type: "response";
258
+ readonly target: any;
259
+ };
260
+ reversetoggle: {
261
+ reverse: boolean;
262
+ readonly type: "reversetoggle";
263
+ readonly target: any;
264
+ };
265
+ }[T]) => void): any;
266
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
267
+ select: {
268
+ feature: Feature | undefined;
269
+ readonly type: "select";
270
+ readonly target: any;
271
+ };
272
+ featureslisted: {
273
+ features: Feature[] | undefined;
274
+ readonly type: "featureslisted";
275
+ readonly target: any;
276
+ };
277
+ featuresmarked: {
278
+ features: Feature[] | undefined;
279
+ readonly type: "featuresmarked";
280
+ readonly target: any;
281
+ };
282
+ optionsvisibilitychange: {
283
+ optionsVisible: boolean;
284
+ readonly type: "optionsvisibilitychange";
285
+ readonly target: any;
286
+ };
287
+ pick: {
288
+ feature: Feature | undefined;
289
+ readonly type: "pick";
290
+ readonly target: any;
291
+ };
292
+ querychange: {
293
+ query: string;
294
+ readonly type: "querychange";
295
+ readonly target: any;
296
+ };
297
+ response: {
298
+ url: string;
299
+ featureCollection: FeatureCollection;
300
+ readonly type: "response";
301
+ readonly target: any;
302
+ };
303
+ reversetoggle: {
304
+ reverse: boolean;
305
+ readonly type: "reversetoggle";
306
+ readonly target: any;
307
+ };
308
+ }[T]) => void): any;
309
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
310
+ select: {
311
+ feature: Feature | undefined;
312
+ readonly type: "select";
313
+ readonly target: any;
314
+ };
315
+ featureslisted: {
316
+ features: Feature[] | undefined;
317
+ readonly type: "featureslisted";
318
+ readonly target: any;
319
+ };
320
+ featuresmarked: {
321
+ features: Feature[] | undefined;
322
+ readonly type: "featuresmarked";
323
+ readonly target: any;
324
+ };
325
+ optionsvisibilitychange: {
326
+ optionsVisible: boolean;
327
+ readonly type: "optionsvisibilitychange";
328
+ readonly target: any;
329
+ };
330
+ pick: {
331
+ feature: Feature | undefined;
332
+ readonly type: "pick";
333
+ readonly target: any;
334
+ };
335
+ querychange: {
336
+ query: string;
337
+ readonly type: "querychange";
338
+ readonly target: any;
339
+ };
340
+ response: {
341
+ url: string;
342
+ featureCollection: FeatureCollection;
343
+ readonly type: "response";
344
+ readonly target: any;
345
+ };
346
+ reversetoggle: {
347
+ reverse: boolean;
348
+ readonly type: "reversetoggle";
349
+ readonly target: any;
350
+ };
351
+ }[T]) => void): any;
352
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
353
+ setOptions(options: OPTS): void;
354
+ setQuery(value: string, submit?: boolean): void;
355
+ clearMap(): void;
356
+ clearList(): void;
357
+ setReverseMode(value: boolean): void;
358
+ focus(): void;
359
+ blur(): void;
360
+ onRemove(): void;
361
+ _listeners: import("maplibre-gl").Listeners;
362
+ _oneTimeListeners: import("maplibre-gl").Listeners;
363
+ _eventedParent: Evented;
364
+ _eventedParentData: any | (() => any);
365
+ fire(event: {
366
+ readonly type: string;
367
+ } | string, properties?: any): any;
368
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
369
+ }, details: {
370
+ feature: Feature | undefined;
371
+ }): {
372
+ feature: Feature | undefined;
373
+ readonly type: "select";
374
+ readonly target: {
375
+ "__#1@#gc"?: GeocodingControlComponent;
376
+ "__#1@#options": OPTS;
377
+ onAddInt(map: Map): HTMLElement;
378
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
379
+ select: {
380
+ feature: Feature | undefined;
381
+ readonly type: "select";
382
+ readonly target: any;
383
+ };
384
+ featureslisted: {
385
+ features: Feature[] | undefined;
386
+ readonly type: "featureslisted";
387
+ readonly target: any;
388
+ };
389
+ featuresmarked: {
390
+ features: Feature[] | undefined;
391
+ readonly type: "featuresmarked";
392
+ readonly target: any;
393
+ };
394
+ optionsvisibilitychange: {
395
+ optionsVisible: boolean;
396
+ readonly type: "optionsvisibilitychange";
397
+ readonly target: any;
398
+ };
399
+ pick: {
400
+ feature: Feature | undefined;
401
+ readonly type: "pick";
402
+ readonly target: any;
403
+ };
404
+ querychange: {
405
+ query: string;
406
+ readonly type: "querychange";
407
+ readonly target: any;
408
+ };
409
+ response: {
410
+ url: string;
411
+ featureCollection: FeatureCollection;
412
+ readonly type: "response";
413
+ readonly target: any;
414
+ };
415
+ reversetoggle: {
416
+ reverse: boolean;
417
+ readonly type: "reversetoggle";
418
+ readonly target: any;
419
+ };
420
+ }[T]) => void): any;
421
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
422
+ select: {
423
+ feature: Feature | undefined;
424
+ readonly type: "select";
425
+ readonly target: any;
426
+ };
427
+ featureslisted: {
428
+ features: Feature[] | undefined;
429
+ readonly type: "featureslisted";
430
+ readonly target: any;
431
+ };
432
+ featuresmarked: {
433
+ features: Feature[] | undefined;
434
+ readonly type: "featuresmarked";
435
+ readonly target: any;
436
+ };
437
+ optionsvisibilitychange: {
438
+ optionsVisible: boolean;
439
+ readonly type: "optionsvisibilitychange";
440
+ readonly target: any;
441
+ };
442
+ pick: {
443
+ feature: Feature | undefined;
444
+ readonly type: "pick";
445
+ readonly target: any;
446
+ };
447
+ querychange: {
448
+ query: string;
449
+ readonly type: "querychange";
450
+ readonly target: any;
451
+ };
452
+ response: {
453
+ url: string;
454
+ featureCollection: FeatureCollection;
455
+ readonly type: "response";
456
+ readonly target: any;
457
+ };
458
+ reversetoggle: {
459
+ reverse: boolean;
460
+ readonly type: "reversetoggle";
461
+ readonly target: any;
462
+ };
463
+ }[T]) => void): any;
464
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
465
+ select: {
466
+ feature: Feature | undefined;
467
+ readonly type: "select";
468
+ readonly target: any;
469
+ };
470
+ featureslisted: {
471
+ features: Feature[] | undefined;
472
+ readonly type: "featureslisted";
473
+ readonly target: any;
474
+ };
475
+ featuresmarked: {
476
+ features: Feature[] | undefined;
477
+ readonly type: "featuresmarked";
478
+ readonly target: any;
479
+ };
480
+ optionsvisibilitychange: {
481
+ optionsVisible: boolean;
482
+ readonly type: "optionsvisibilitychange";
483
+ readonly target: any;
484
+ };
485
+ pick: {
486
+ feature: Feature | undefined;
487
+ readonly type: "pick";
488
+ readonly target: any;
489
+ };
490
+ querychange: {
491
+ query: string;
492
+ readonly type: "querychange";
493
+ readonly target: any;
494
+ };
495
+ response: {
496
+ url: string;
497
+ featureCollection: FeatureCollection;
498
+ readonly type: "response";
499
+ readonly target: any;
500
+ };
501
+ reversetoggle: {
502
+ reverse: boolean;
503
+ readonly type: "reversetoggle";
504
+ readonly target: any;
505
+ };
506
+ }[T]) => void): any;
507
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
508
+ setOptions(options: OPTS): void;
509
+ setQuery(value: string, submit?: boolean): void;
510
+ clearMap(): void;
511
+ clearList(): void;
512
+ setReverseMode(value: boolean): void;
513
+ focus(): void;
514
+ blur(): void;
515
+ onRemove(): void;
516
+ _listeners: import("maplibre-gl").Listeners;
517
+ _oneTimeListeners: import("maplibre-gl").Listeners;
518
+ _eventedParent: Evented;
519
+ _eventedParentData: any | (() => any);
520
+ fire(event: {
521
+ readonly type: string;
522
+ } | string, properties?: any): any;
523
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
524
+ };
525
+ };
526
+ };
527
+ FeaturesListedEvent: {
528
+ new (target: {
529
+ "__#1@#gc"?: GeocodingControlComponent;
530
+ "__#1@#options": OPTS;
531
+ onAddInt(map: Map): HTMLElement;
532
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
533
+ select: {
534
+ feature: Feature | undefined;
535
+ readonly type: "select";
536
+ readonly target: any;
537
+ };
538
+ featureslisted: {
539
+ features: Feature[] | undefined;
540
+ readonly type: "featureslisted";
541
+ readonly target: any;
542
+ };
543
+ featuresmarked: {
544
+ features: Feature[] | undefined;
545
+ readonly type: "featuresmarked";
546
+ readonly target: any;
547
+ };
548
+ optionsvisibilitychange: {
549
+ optionsVisible: boolean;
550
+ readonly type: "optionsvisibilitychange";
551
+ readonly target: any;
552
+ };
553
+ pick: {
554
+ feature: Feature | undefined;
555
+ readonly type: "pick";
556
+ readonly target: any;
557
+ };
558
+ querychange: {
559
+ query: string;
560
+ readonly type: "querychange";
561
+ readonly target: any;
562
+ };
563
+ response: {
564
+ url: string;
565
+ featureCollection: FeatureCollection;
566
+ readonly type: "response";
567
+ readonly target: any;
568
+ };
569
+ reversetoggle: {
570
+ reverse: boolean;
571
+ readonly type: "reversetoggle";
572
+ readonly target: any;
573
+ };
574
+ }[T]) => void): any;
575
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
576
+ select: {
577
+ feature: Feature | undefined;
578
+ readonly type: "select";
579
+ readonly target: any;
580
+ };
581
+ featureslisted: {
582
+ features: Feature[] | undefined;
583
+ readonly type: "featureslisted";
584
+ readonly target: any;
585
+ };
586
+ featuresmarked: {
587
+ features: Feature[] | undefined;
588
+ readonly type: "featuresmarked";
589
+ readonly target: any;
590
+ };
591
+ optionsvisibilitychange: {
592
+ optionsVisible: boolean;
593
+ readonly type: "optionsvisibilitychange";
594
+ readonly target: any;
595
+ };
596
+ pick: {
597
+ feature: Feature | undefined;
598
+ readonly type: "pick";
599
+ readonly target: any;
600
+ };
601
+ querychange: {
602
+ query: string;
603
+ readonly type: "querychange";
604
+ readonly target: any;
605
+ };
606
+ response: {
607
+ url: string;
608
+ featureCollection: FeatureCollection;
609
+ readonly type: "response";
610
+ readonly target: any;
611
+ };
612
+ reversetoggle: {
613
+ reverse: boolean;
614
+ readonly type: "reversetoggle";
615
+ readonly target: any;
616
+ };
617
+ }[T]) => void): any;
618
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
619
+ select: {
620
+ feature: Feature | undefined;
621
+ readonly type: "select";
622
+ readonly target: any;
623
+ };
624
+ featureslisted: {
625
+ features: Feature[] | undefined;
626
+ readonly type: "featureslisted";
627
+ readonly target: any;
628
+ };
629
+ featuresmarked: {
630
+ features: Feature[] | undefined;
631
+ readonly type: "featuresmarked";
632
+ readonly target: any;
633
+ };
634
+ optionsvisibilitychange: {
635
+ optionsVisible: boolean;
636
+ readonly type: "optionsvisibilitychange";
637
+ readonly target: any;
638
+ };
639
+ pick: {
640
+ feature: Feature | undefined;
641
+ readonly type: "pick";
642
+ readonly target: any;
643
+ };
644
+ querychange: {
645
+ query: string;
646
+ readonly type: "querychange";
647
+ readonly target: any;
648
+ };
649
+ response: {
650
+ url: string;
651
+ featureCollection: FeatureCollection;
652
+ readonly type: "response";
653
+ readonly target: any;
654
+ };
655
+ reversetoggle: {
656
+ reverse: boolean;
657
+ readonly type: "reversetoggle";
658
+ readonly target: any;
659
+ };
660
+ }[T]) => void): any;
661
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
662
+ setOptions(options: OPTS): void;
663
+ setQuery(value: string, submit?: boolean): void;
664
+ clearMap(): void;
665
+ clearList(): void;
666
+ setReverseMode(value: boolean): void;
667
+ focus(): void;
668
+ blur(): void;
669
+ onRemove(): void;
670
+ _listeners: import("maplibre-gl").Listeners;
671
+ _oneTimeListeners: import("maplibre-gl").Listeners;
672
+ _eventedParent: Evented;
673
+ _eventedParentData: any | (() => any);
674
+ fire(event: {
675
+ readonly type: string;
676
+ } | string, properties?: any): any;
677
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
678
+ }, features: Feature[] | undefined): {
679
+ features: Feature[] | undefined;
680
+ readonly type: "featureslisted";
681
+ readonly target: {
682
+ "__#1@#gc"?: GeocodingControlComponent;
683
+ "__#1@#options": OPTS;
684
+ onAddInt(map: Map): HTMLElement;
685
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
686
+ select: {
687
+ feature: Feature | undefined;
688
+ readonly type: "select";
689
+ readonly target: any;
690
+ };
691
+ featureslisted: {
692
+ features: Feature[] | undefined;
693
+ readonly type: "featureslisted";
694
+ readonly target: any;
695
+ };
696
+ featuresmarked: {
697
+ features: Feature[] | undefined;
698
+ readonly type: "featuresmarked";
699
+ readonly target: any;
700
+ };
701
+ optionsvisibilitychange: {
702
+ optionsVisible: boolean;
703
+ readonly type: "optionsvisibilitychange";
704
+ readonly target: any;
705
+ };
706
+ pick: {
707
+ feature: Feature | undefined;
708
+ readonly type: "pick";
709
+ readonly target: any;
710
+ };
711
+ querychange: {
712
+ query: string;
713
+ readonly type: "querychange";
714
+ readonly target: any;
715
+ };
716
+ response: {
717
+ url: string;
718
+ featureCollection: FeatureCollection;
719
+ readonly type: "response";
720
+ readonly target: any;
721
+ };
722
+ reversetoggle: {
723
+ reverse: boolean;
724
+ readonly type: "reversetoggle";
725
+ readonly target: any;
726
+ };
727
+ }[T]) => void): any;
728
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
729
+ select: {
730
+ feature: Feature | undefined;
731
+ readonly type: "select";
732
+ readonly target: any;
733
+ };
734
+ featureslisted: {
735
+ features: Feature[] | undefined;
736
+ readonly type: "featureslisted";
737
+ readonly target: any;
738
+ };
739
+ featuresmarked: {
740
+ features: Feature[] | undefined;
741
+ readonly type: "featuresmarked";
742
+ readonly target: any;
743
+ };
744
+ optionsvisibilitychange: {
745
+ optionsVisible: boolean;
746
+ readonly type: "optionsvisibilitychange";
747
+ readonly target: any;
748
+ };
749
+ pick: {
750
+ feature: Feature | undefined;
751
+ readonly type: "pick";
752
+ readonly target: any;
753
+ };
754
+ querychange: {
755
+ query: string;
756
+ readonly type: "querychange";
757
+ readonly target: any;
758
+ };
759
+ response: {
760
+ url: string;
761
+ featureCollection: FeatureCollection;
762
+ readonly type: "response";
763
+ readonly target: any;
764
+ };
765
+ reversetoggle: {
766
+ reverse: boolean;
767
+ readonly type: "reversetoggle";
768
+ readonly target: any;
769
+ };
770
+ }[T]) => void): any;
771
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
772
+ select: {
773
+ feature: Feature | undefined;
774
+ readonly type: "select";
775
+ readonly target: any;
776
+ };
777
+ featureslisted: {
778
+ features: Feature[] | undefined;
779
+ readonly type: "featureslisted";
780
+ readonly target: any;
781
+ };
782
+ featuresmarked: {
783
+ features: Feature[] | undefined;
784
+ readonly type: "featuresmarked";
785
+ readonly target: any;
786
+ };
787
+ optionsvisibilitychange: {
788
+ optionsVisible: boolean;
789
+ readonly type: "optionsvisibilitychange";
790
+ readonly target: any;
791
+ };
792
+ pick: {
793
+ feature: Feature | undefined;
794
+ readonly type: "pick";
795
+ readonly target: any;
796
+ };
797
+ querychange: {
798
+ query: string;
799
+ readonly type: "querychange";
800
+ readonly target: any;
801
+ };
802
+ response: {
803
+ url: string;
804
+ featureCollection: FeatureCollection;
805
+ readonly type: "response";
806
+ readonly target: any;
807
+ };
808
+ reversetoggle: {
809
+ reverse: boolean;
810
+ readonly type: "reversetoggle";
811
+ readonly target: any;
812
+ };
813
+ }[T]) => void): any;
814
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
815
+ setOptions(options: OPTS): void;
816
+ setQuery(value: string, submit?: boolean): void;
817
+ clearMap(): void;
818
+ clearList(): void;
819
+ setReverseMode(value: boolean): void;
820
+ focus(): void;
821
+ blur(): void;
822
+ onRemove(): void;
823
+ _listeners: import("maplibre-gl").Listeners;
824
+ _oneTimeListeners: import("maplibre-gl").Listeners;
825
+ _eventedParent: Evented;
826
+ _eventedParentData: any | (() => any);
827
+ fire(event: {
828
+ readonly type: string;
829
+ } | string, properties?: any): any;
830
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
831
+ };
832
+ };
833
+ };
834
+ FeaturesMarkedEvent: {
835
+ new (target: {
836
+ "__#1@#gc"?: GeocodingControlComponent;
837
+ "__#1@#options": OPTS;
838
+ onAddInt(map: Map): HTMLElement;
839
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
840
+ select: {
841
+ feature: Feature | undefined;
842
+ readonly type: "select";
843
+ readonly target: any;
844
+ };
845
+ featureslisted: {
846
+ features: Feature[] | undefined;
847
+ readonly type: "featureslisted";
848
+ readonly target: any;
849
+ };
850
+ featuresmarked: {
851
+ features: Feature[] | undefined;
852
+ readonly type: "featuresmarked";
853
+ readonly target: any;
854
+ };
855
+ optionsvisibilitychange: {
856
+ optionsVisible: boolean;
857
+ readonly type: "optionsvisibilitychange";
858
+ readonly target: any;
859
+ };
860
+ pick: {
861
+ feature: Feature | undefined;
862
+ readonly type: "pick";
863
+ readonly target: any;
864
+ };
865
+ querychange: {
866
+ query: string;
867
+ readonly type: "querychange";
868
+ readonly target: any;
869
+ };
870
+ response: {
871
+ url: string;
872
+ featureCollection: FeatureCollection;
873
+ readonly type: "response";
874
+ readonly target: any;
875
+ };
876
+ reversetoggle: {
877
+ reverse: boolean;
878
+ readonly type: "reversetoggle";
879
+ readonly target: any;
880
+ };
881
+ }[T]) => void): any;
882
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
883
+ select: {
884
+ feature: Feature | undefined;
885
+ readonly type: "select";
886
+ readonly target: any;
887
+ };
888
+ featureslisted: {
889
+ features: Feature[] | undefined;
890
+ readonly type: "featureslisted";
891
+ readonly target: any;
892
+ };
893
+ featuresmarked: {
894
+ features: Feature[] | undefined;
895
+ readonly type: "featuresmarked";
896
+ readonly target: any;
897
+ };
898
+ optionsvisibilitychange: {
899
+ optionsVisible: boolean;
900
+ readonly type: "optionsvisibilitychange";
901
+ readonly target: any;
902
+ };
903
+ pick: {
904
+ feature: Feature | undefined;
905
+ readonly type: "pick";
906
+ readonly target: any;
907
+ };
908
+ querychange: {
909
+ query: string;
910
+ readonly type: "querychange";
911
+ readonly target: any;
912
+ };
913
+ response: {
914
+ url: string;
915
+ featureCollection: FeatureCollection;
916
+ readonly type: "response";
917
+ readonly target: any;
918
+ };
919
+ reversetoggle: {
920
+ reverse: boolean;
921
+ readonly type: "reversetoggle";
922
+ readonly target: any;
923
+ };
924
+ }[T]) => void): any;
925
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
926
+ select: {
927
+ feature: Feature | undefined;
928
+ readonly type: "select";
929
+ readonly target: any;
930
+ };
931
+ featureslisted: {
932
+ features: Feature[] | undefined;
933
+ readonly type: "featureslisted";
934
+ readonly target: any;
935
+ };
936
+ featuresmarked: {
937
+ features: Feature[] | undefined;
938
+ readonly type: "featuresmarked";
939
+ readonly target: any;
940
+ };
941
+ optionsvisibilitychange: {
942
+ optionsVisible: boolean;
943
+ readonly type: "optionsvisibilitychange";
944
+ readonly target: any;
945
+ };
946
+ pick: {
947
+ feature: Feature | undefined;
948
+ readonly type: "pick";
949
+ readonly target: any;
950
+ };
951
+ querychange: {
952
+ query: string;
953
+ readonly type: "querychange";
954
+ readonly target: any;
955
+ };
956
+ response: {
957
+ url: string;
958
+ featureCollection: FeatureCollection;
959
+ readonly type: "response";
960
+ readonly target: any;
961
+ };
962
+ reversetoggle: {
963
+ reverse: boolean;
964
+ readonly type: "reversetoggle";
965
+ readonly target: any;
966
+ };
967
+ }[T]) => void): any;
968
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
969
+ setOptions(options: OPTS): void;
970
+ setQuery(value: string, submit?: boolean): void;
971
+ clearMap(): void;
972
+ clearList(): void;
973
+ setReverseMode(value: boolean): void;
974
+ focus(): void;
975
+ blur(): void;
976
+ onRemove(): void;
977
+ _listeners: import("maplibre-gl").Listeners;
978
+ _oneTimeListeners: import("maplibre-gl").Listeners;
979
+ _eventedParent: Evented;
980
+ _eventedParentData: any | (() => any);
981
+ fire(event: {
982
+ readonly type: string;
983
+ } | string, properties?: any): any;
984
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
985
+ }, features: Feature[] | undefined): {
986
+ features: Feature[] | undefined;
987
+ readonly type: "featuresmarked";
988
+ readonly target: {
989
+ "__#1@#gc"?: GeocodingControlComponent;
990
+ "__#1@#options": OPTS;
991
+ onAddInt(map: Map): HTMLElement;
992
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
993
+ select: {
994
+ feature: Feature | undefined;
995
+ readonly type: "select";
996
+ readonly target: any;
997
+ };
998
+ featureslisted: {
999
+ features: Feature[] | undefined;
1000
+ readonly type: "featureslisted";
1001
+ readonly target: any;
1002
+ };
1003
+ featuresmarked: {
1004
+ features: Feature[] | undefined;
1005
+ readonly type: "featuresmarked";
1006
+ readonly target: any;
1007
+ };
1008
+ optionsvisibilitychange: {
1009
+ optionsVisible: boolean;
1010
+ readonly type: "optionsvisibilitychange";
1011
+ readonly target: any;
1012
+ };
1013
+ pick: {
1014
+ feature: Feature | undefined;
1015
+ readonly type: "pick";
1016
+ readonly target: any;
1017
+ };
1018
+ querychange: {
1019
+ query: string;
1020
+ readonly type: "querychange";
1021
+ readonly target: any;
1022
+ };
1023
+ response: {
1024
+ url: string;
1025
+ featureCollection: FeatureCollection;
1026
+ readonly type: "response";
1027
+ readonly target: any;
1028
+ };
1029
+ reversetoggle: {
1030
+ reverse: boolean;
1031
+ readonly type: "reversetoggle";
1032
+ readonly target: any;
1033
+ };
1034
+ }[T]) => void): any;
1035
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1036
+ select: {
1037
+ feature: Feature | undefined;
1038
+ readonly type: "select";
1039
+ readonly target: any;
1040
+ };
1041
+ featureslisted: {
1042
+ features: Feature[] | undefined;
1043
+ readonly type: "featureslisted";
1044
+ readonly target: any;
1045
+ };
1046
+ featuresmarked: {
1047
+ features: Feature[] | undefined;
1048
+ readonly type: "featuresmarked";
1049
+ readonly target: any;
1050
+ };
1051
+ optionsvisibilitychange: {
1052
+ optionsVisible: boolean;
1053
+ readonly type: "optionsvisibilitychange";
1054
+ readonly target: any;
1055
+ };
1056
+ pick: {
1057
+ feature: Feature | undefined;
1058
+ readonly type: "pick";
1059
+ readonly target: any;
1060
+ };
1061
+ querychange: {
1062
+ query: string;
1063
+ readonly type: "querychange";
1064
+ readonly target: any;
1065
+ };
1066
+ response: {
1067
+ url: string;
1068
+ featureCollection: FeatureCollection;
1069
+ readonly type: "response";
1070
+ readonly target: any;
1071
+ };
1072
+ reversetoggle: {
1073
+ reverse: boolean;
1074
+ readonly type: "reversetoggle";
1075
+ readonly target: any;
1076
+ };
1077
+ }[T]) => void): any;
1078
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1079
+ select: {
1080
+ feature: Feature | undefined;
1081
+ readonly type: "select";
1082
+ readonly target: any;
1083
+ };
1084
+ featureslisted: {
1085
+ features: Feature[] | undefined;
1086
+ readonly type: "featureslisted";
1087
+ readonly target: any;
1088
+ };
1089
+ featuresmarked: {
1090
+ features: Feature[] | undefined;
1091
+ readonly type: "featuresmarked";
1092
+ readonly target: any;
1093
+ };
1094
+ optionsvisibilitychange: {
1095
+ optionsVisible: boolean;
1096
+ readonly type: "optionsvisibilitychange";
1097
+ readonly target: any;
1098
+ };
1099
+ pick: {
1100
+ feature: Feature | undefined;
1101
+ readonly type: "pick";
1102
+ readonly target: any;
1103
+ };
1104
+ querychange: {
1105
+ query: string;
1106
+ readonly type: "querychange";
1107
+ readonly target: any;
1108
+ };
1109
+ response: {
1110
+ url: string;
1111
+ featureCollection: FeatureCollection;
1112
+ readonly type: "response";
1113
+ readonly target: any;
1114
+ };
1115
+ reversetoggle: {
1116
+ reverse: boolean;
1117
+ readonly type: "reversetoggle";
1118
+ readonly target: any;
1119
+ };
1120
+ }[T]) => void): any;
1121
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1122
+ setOptions(options: OPTS): void;
1123
+ setQuery(value: string, submit?: boolean): void;
1124
+ clearMap(): void;
1125
+ clearList(): void;
1126
+ setReverseMode(value: boolean): void;
1127
+ focus(): void;
1128
+ blur(): void;
1129
+ onRemove(): void;
1130
+ _listeners: import("maplibre-gl").Listeners;
1131
+ _oneTimeListeners: import("maplibre-gl").Listeners;
1132
+ _eventedParent: Evented;
1133
+ _eventedParentData: any | (() => any);
1134
+ fire(event: {
1135
+ readonly type: string;
1136
+ } | string, properties?: any): any;
1137
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
1138
+ };
1139
+ };
1140
+ };
1141
+ OptionsVisibilityChangeEvent: {
1142
+ new (target: {
1143
+ "__#1@#gc"?: GeocodingControlComponent;
1144
+ "__#1@#options": OPTS;
1145
+ onAddInt(map: Map): HTMLElement;
1146
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1147
+ select: {
1148
+ feature: Feature | undefined;
1149
+ readonly type: "select";
1150
+ readonly target: any;
1151
+ };
1152
+ featureslisted: {
1153
+ features: Feature[] | undefined;
1154
+ readonly type: "featureslisted";
1155
+ readonly target: any;
1156
+ };
1157
+ featuresmarked: {
1158
+ features: Feature[] | undefined;
1159
+ readonly type: "featuresmarked";
1160
+ readonly target: any;
1161
+ };
1162
+ optionsvisibilitychange: {
1163
+ optionsVisible: boolean;
1164
+ readonly type: "optionsvisibilitychange";
1165
+ readonly target: any;
1166
+ };
1167
+ pick: {
1168
+ feature: Feature | undefined;
1169
+ readonly type: "pick";
1170
+ readonly target: any;
1171
+ };
1172
+ querychange: {
1173
+ query: string;
1174
+ readonly type: "querychange";
1175
+ readonly target: any;
1176
+ };
1177
+ response: {
1178
+ url: string;
1179
+ featureCollection: FeatureCollection;
1180
+ readonly type: "response";
1181
+ readonly target: any;
1182
+ };
1183
+ reversetoggle: {
1184
+ reverse: boolean;
1185
+ readonly type: "reversetoggle";
1186
+ readonly target: any;
1187
+ };
1188
+ }[T]) => void): any;
1189
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1190
+ select: {
1191
+ feature: Feature | undefined;
1192
+ readonly type: "select";
1193
+ readonly target: any;
1194
+ };
1195
+ featureslisted: {
1196
+ features: Feature[] | undefined;
1197
+ readonly type: "featureslisted";
1198
+ readonly target: any;
1199
+ };
1200
+ featuresmarked: {
1201
+ features: Feature[] | undefined;
1202
+ readonly type: "featuresmarked";
1203
+ readonly target: any;
1204
+ };
1205
+ optionsvisibilitychange: {
1206
+ optionsVisible: boolean;
1207
+ readonly type: "optionsvisibilitychange";
1208
+ readonly target: any;
1209
+ };
1210
+ pick: {
1211
+ feature: Feature | undefined;
1212
+ readonly type: "pick";
1213
+ readonly target: any;
1214
+ };
1215
+ querychange: {
1216
+ query: string;
1217
+ readonly type: "querychange";
1218
+ readonly target: any;
1219
+ };
1220
+ response: {
1221
+ url: string;
1222
+ featureCollection: FeatureCollection;
1223
+ readonly type: "response";
1224
+ readonly target: any;
1225
+ };
1226
+ reversetoggle: {
1227
+ reverse: boolean;
1228
+ readonly type: "reversetoggle";
1229
+ readonly target: any;
1230
+ };
1231
+ }[T]) => void): any;
1232
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1233
+ select: {
1234
+ feature: Feature | undefined;
1235
+ readonly type: "select";
1236
+ readonly target: any;
1237
+ };
1238
+ featureslisted: {
1239
+ features: Feature[] | undefined;
1240
+ readonly type: "featureslisted";
1241
+ readonly target: any;
1242
+ };
1243
+ featuresmarked: {
1244
+ features: Feature[] | undefined;
1245
+ readonly type: "featuresmarked";
1246
+ readonly target: any;
1247
+ };
1248
+ optionsvisibilitychange: {
1249
+ optionsVisible: boolean;
1250
+ readonly type: "optionsvisibilitychange";
1251
+ readonly target: any;
1252
+ };
1253
+ pick: {
1254
+ feature: Feature | undefined;
1255
+ readonly type: "pick";
1256
+ readonly target: any;
1257
+ };
1258
+ querychange: {
1259
+ query: string;
1260
+ readonly type: "querychange";
1261
+ readonly target: any;
1262
+ };
1263
+ response: {
1264
+ url: string;
1265
+ featureCollection: FeatureCollection;
1266
+ readonly type: "response";
1267
+ readonly target: any;
1268
+ };
1269
+ reversetoggle: {
1270
+ reverse: boolean;
1271
+ readonly type: "reversetoggle";
1272
+ readonly target: any;
1273
+ };
1274
+ }[T]) => void): any;
1275
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1276
+ setOptions(options: OPTS): void;
1277
+ setQuery(value: string, submit?: boolean): void;
1278
+ clearMap(): void;
1279
+ clearList(): void;
1280
+ setReverseMode(value: boolean): void;
1281
+ focus(): void;
1282
+ blur(): void;
1283
+ onRemove(): void;
1284
+ _listeners: import("maplibre-gl").Listeners;
1285
+ _oneTimeListeners: import("maplibre-gl").Listeners;
1286
+ _eventedParent: Evented;
1287
+ _eventedParentData: any | (() => any);
1288
+ fire(event: {
1289
+ readonly type: string;
1290
+ } | string, properties?: any): any;
1291
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
1292
+ }, optionsVisible: boolean): {
1293
+ optionsVisible: boolean;
1294
+ readonly type: "optionsvisibilitychange";
1295
+ readonly target: {
1296
+ "__#1@#gc"?: GeocodingControlComponent;
1297
+ "__#1@#options": OPTS;
1298
+ onAddInt(map: Map): HTMLElement;
1299
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1300
+ select: {
1301
+ feature: Feature | undefined;
1302
+ readonly type: "select";
1303
+ readonly target: any;
1304
+ };
1305
+ featureslisted: {
1306
+ features: Feature[] | undefined;
1307
+ readonly type: "featureslisted";
1308
+ readonly target: any;
1309
+ };
1310
+ featuresmarked: {
1311
+ features: Feature[] | undefined;
1312
+ readonly type: "featuresmarked";
1313
+ readonly target: any;
1314
+ };
1315
+ optionsvisibilitychange: {
1316
+ optionsVisible: boolean;
1317
+ readonly type: "optionsvisibilitychange";
1318
+ readonly target: any;
1319
+ };
1320
+ pick: {
1321
+ feature: Feature | undefined;
1322
+ readonly type: "pick";
1323
+ readonly target: any;
1324
+ };
1325
+ querychange: {
1326
+ query: string;
1327
+ readonly type: "querychange";
1328
+ readonly target: any;
1329
+ };
1330
+ response: {
1331
+ url: string;
1332
+ featureCollection: FeatureCollection;
1333
+ readonly type: "response";
1334
+ readonly target: any;
1335
+ };
1336
+ reversetoggle: {
1337
+ reverse: boolean;
1338
+ readonly type: "reversetoggle";
1339
+ readonly target: any;
1340
+ };
1341
+ }[T]) => void): any;
1342
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1343
+ select: {
1344
+ feature: Feature | undefined;
1345
+ readonly type: "select";
1346
+ readonly target: any;
1347
+ };
1348
+ featureslisted: {
1349
+ features: Feature[] | undefined;
1350
+ readonly type: "featureslisted";
1351
+ readonly target: any;
1352
+ };
1353
+ featuresmarked: {
1354
+ features: Feature[] | undefined;
1355
+ readonly type: "featuresmarked";
1356
+ readonly target: any;
1357
+ };
1358
+ optionsvisibilitychange: {
1359
+ optionsVisible: boolean;
1360
+ readonly type: "optionsvisibilitychange";
1361
+ readonly target: any;
1362
+ };
1363
+ pick: {
1364
+ feature: Feature | undefined;
1365
+ readonly type: "pick";
1366
+ readonly target: any;
1367
+ };
1368
+ querychange: {
1369
+ query: string;
1370
+ readonly type: "querychange";
1371
+ readonly target: any;
1372
+ };
1373
+ response: {
1374
+ url: string;
1375
+ featureCollection: FeatureCollection;
1376
+ readonly type: "response";
1377
+ readonly target: any;
1378
+ };
1379
+ reversetoggle: {
1380
+ reverse: boolean;
1381
+ readonly type: "reversetoggle";
1382
+ readonly target: any;
1383
+ };
1384
+ }[T]) => void): any;
1385
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1386
+ select: {
1387
+ feature: Feature | undefined;
1388
+ readonly type: "select";
1389
+ readonly target: any;
1390
+ };
1391
+ featureslisted: {
1392
+ features: Feature[] | undefined;
1393
+ readonly type: "featureslisted";
1394
+ readonly target: any;
1395
+ };
1396
+ featuresmarked: {
1397
+ features: Feature[] | undefined;
1398
+ readonly type: "featuresmarked";
1399
+ readonly target: any;
1400
+ };
1401
+ optionsvisibilitychange: {
1402
+ optionsVisible: boolean;
1403
+ readonly type: "optionsvisibilitychange";
1404
+ readonly target: any;
1405
+ };
1406
+ pick: {
1407
+ feature: Feature | undefined;
1408
+ readonly type: "pick";
1409
+ readonly target: any;
1410
+ };
1411
+ querychange: {
1412
+ query: string;
1413
+ readonly type: "querychange";
1414
+ readonly target: any;
1415
+ };
1416
+ response: {
1417
+ url: string;
1418
+ featureCollection: FeatureCollection;
1419
+ readonly type: "response";
1420
+ readonly target: any;
1421
+ };
1422
+ reversetoggle: {
1423
+ reverse: boolean;
1424
+ readonly type: "reversetoggle";
1425
+ readonly target: any;
1426
+ };
1427
+ }[T]) => void): any;
1428
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1429
+ setOptions(options: OPTS): void;
1430
+ setQuery(value: string, submit?: boolean): void;
1431
+ clearMap(): void;
1432
+ clearList(): void;
1433
+ setReverseMode(value: boolean): void;
1434
+ focus(): void;
1435
+ blur(): void;
1436
+ onRemove(): void;
1437
+ _listeners: import("maplibre-gl").Listeners;
1438
+ _oneTimeListeners: import("maplibre-gl").Listeners;
1439
+ _eventedParent: Evented;
1440
+ _eventedParentData: any | (() => any);
1441
+ fire(event: {
1442
+ readonly type: string;
1443
+ } | string, properties?: any): any;
1444
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
1445
+ };
1446
+ };
1447
+ };
1448
+ PickEvent: {
1449
+ new (target: {
1450
+ "__#1@#gc"?: GeocodingControlComponent;
1451
+ "__#1@#options": OPTS;
1452
+ onAddInt(map: Map): HTMLElement;
1453
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1454
+ select: {
1455
+ feature: Feature | undefined;
1456
+ readonly type: "select";
1457
+ readonly target: any;
1458
+ };
1459
+ featureslisted: {
1460
+ features: Feature[] | undefined;
1461
+ readonly type: "featureslisted";
1462
+ readonly target: any;
1463
+ };
1464
+ featuresmarked: {
1465
+ features: Feature[] | undefined;
1466
+ readonly type: "featuresmarked";
1467
+ readonly target: any;
1468
+ };
1469
+ optionsvisibilitychange: {
1470
+ optionsVisible: boolean;
1471
+ readonly type: "optionsvisibilitychange";
1472
+ readonly target: any;
1473
+ };
1474
+ pick: {
1475
+ feature: Feature | undefined;
1476
+ readonly type: "pick";
1477
+ readonly target: any;
1478
+ };
1479
+ querychange: {
1480
+ query: string;
1481
+ readonly type: "querychange";
1482
+ readonly target: any;
1483
+ };
1484
+ response: {
1485
+ url: string;
1486
+ featureCollection: FeatureCollection;
1487
+ readonly type: "response";
1488
+ readonly target: any;
1489
+ };
1490
+ reversetoggle: {
1491
+ reverse: boolean;
1492
+ readonly type: "reversetoggle";
1493
+ readonly target: any;
1494
+ };
1495
+ }[T]) => void): any;
1496
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1497
+ select: {
1498
+ feature: Feature | undefined;
1499
+ readonly type: "select";
1500
+ readonly target: any;
1501
+ };
1502
+ featureslisted: {
1503
+ features: Feature[] | undefined;
1504
+ readonly type: "featureslisted";
1505
+ readonly target: any;
1506
+ };
1507
+ featuresmarked: {
1508
+ features: Feature[] | undefined;
1509
+ readonly type: "featuresmarked";
1510
+ readonly target: any;
1511
+ };
1512
+ optionsvisibilitychange: {
1513
+ optionsVisible: boolean;
1514
+ readonly type: "optionsvisibilitychange";
1515
+ readonly target: any;
1516
+ };
1517
+ pick: {
1518
+ feature: Feature | undefined;
1519
+ readonly type: "pick";
1520
+ readonly target: any;
1521
+ };
1522
+ querychange: {
1523
+ query: string;
1524
+ readonly type: "querychange";
1525
+ readonly target: any;
1526
+ };
1527
+ response: {
1528
+ url: string;
1529
+ featureCollection: FeatureCollection;
1530
+ readonly type: "response";
1531
+ readonly target: any;
1532
+ };
1533
+ reversetoggle: {
1534
+ reverse: boolean;
1535
+ readonly type: "reversetoggle";
1536
+ readonly target: any;
1537
+ };
1538
+ }[T]) => void): any;
1539
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1540
+ select: {
1541
+ feature: Feature | undefined;
1542
+ readonly type: "select";
1543
+ readonly target: any;
1544
+ };
1545
+ featureslisted: {
1546
+ features: Feature[] | undefined;
1547
+ readonly type: "featureslisted";
1548
+ readonly target: any;
1549
+ };
1550
+ featuresmarked: {
1551
+ features: Feature[] | undefined;
1552
+ readonly type: "featuresmarked";
1553
+ readonly target: any;
1554
+ };
1555
+ optionsvisibilitychange: {
1556
+ optionsVisible: boolean;
1557
+ readonly type: "optionsvisibilitychange";
1558
+ readonly target: any;
1559
+ };
1560
+ pick: {
1561
+ feature: Feature | undefined;
1562
+ readonly type: "pick";
1563
+ readonly target: any;
1564
+ };
1565
+ querychange: {
1566
+ query: string;
1567
+ readonly type: "querychange";
1568
+ readonly target: any;
1569
+ };
1570
+ response: {
1571
+ url: string;
1572
+ featureCollection: FeatureCollection;
1573
+ readonly type: "response";
1574
+ readonly target: any;
1575
+ };
1576
+ reversetoggle: {
1577
+ reverse: boolean;
1578
+ readonly type: "reversetoggle";
1579
+ readonly target: any;
1580
+ };
1581
+ }[T]) => void): any;
1582
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1583
+ setOptions(options: OPTS): void;
1584
+ setQuery(value: string, submit?: boolean): void;
1585
+ clearMap(): void;
1586
+ clearList(): void;
1587
+ setReverseMode(value: boolean): void;
1588
+ focus(): void;
1589
+ blur(): void;
1590
+ onRemove(): void;
1591
+ _listeners: import("maplibre-gl").Listeners;
1592
+ _oneTimeListeners: import("maplibre-gl").Listeners;
1593
+ _eventedParent: Evented;
1594
+ _eventedParentData: any | (() => any);
1595
+ fire(event: {
1596
+ readonly type: string;
1597
+ } | string, properties?: any): any;
1598
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
1599
+ }, feature: Feature | undefined): {
1600
+ feature: Feature | undefined;
1601
+ readonly type: "pick";
1602
+ readonly target: {
1603
+ "__#1@#gc"?: GeocodingControlComponent;
1604
+ "__#1@#options": OPTS;
1605
+ onAddInt(map: Map): HTMLElement;
1606
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1607
+ select: {
1608
+ feature: Feature | undefined;
1609
+ readonly type: "select";
1610
+ readonly target: any;
1611
+ };
1612
+ featureslisted: {
1613
+ features: Feature[] | undefined;
1614
+ readonly type: "featureslisted";
1615
+ readonly target: any;
1616
+ };
1617
+ featuresmarked: {
1618
+ features: Feature[] | undefined;
1619
+ readonly type: "featuresmarked";
1620
+ readonly target: any;
1621
+ };
1622
+ optionsvisibilitychange: {
1623
+ optionsVisible: boolean;
1624
+ readonly type: "optionsvisibilitychange";
1625
+ readonly target: any;
1626
+ };
1627
+ pick: {
1628
+ feature: Feature | undefined;
1629
+ readonly type: "pick";
1630
+ readonly target: any;
1631
+ };
1632
+ querychange: {
1633
+ query: string;
1634
+ readonly type: "querychange";
1635
+ readonly target: any;
1636
+ };
1637
+ response: {
1638
+ url: string;
1639
+ featureCollection: FeatureCollection;
1640
+ readonly type: "response";
1641
+ readonly target: any;
1642
+ };
1643
+ reversetoggle: {
1644
+ reverse: boolean;
1645
+ readonly type: "reversetoggle";
1646
+ readonly target: any;
1647
+ };
1648
+ }[T]) => void): any;
1649
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1650
+ select: {
1651
+ feature: Feature | undefined;
1652
+ readonly type: "select";
1653
+ readonly target: any;
1654
+ };
1655
+ featureslisted: {
1656
+ features: Feature[] | undefined;
1657
+ readonly type: "featureslisted";
1658
+ readonly target: any;
1659
+ };
1660
+ featuresmarked: {
1661
+ features: Feature[] | undefined;
1662
+ readonly type: "featuresmarked";
1663
+ readonly target: any;
1664
+ };
1665
+ optionsvisibilitychange: {
1666
+ optionsVisible: boolean;
1667
+ readonly type: "optionsvisibilitychange";
1668
+ readonly target: any;
1669
+ };
1670
+ pick: {
1671
+ feature: Feature | undefined;
1672
+ readonly type: "pick";
1673
+ readonly target: any;
1674
+ };
1675
+ querychange: {
1676
+ query: string;
1677
+ readonly type: "querychange";
1678
+ readonly target: any;
1679
+ };
1680
+ response: {
1681
+ url: string;
1682
+ featureCollection: FeatureCollection;
1683
+ readonly type: "response";
1684
+ readonly target: any;
1685
+ };
1686
+ reversetoggle: {
1687
+ reverse: boolean;
1688
+ readonly type: "reversetoggle";
1689
+ readonly target: any;
1690
+ };
1691
+ }[T]) => void): any;
1692
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1693
+ select: {
1694
+ feature: Feature | undefined;
1695
+ readonly type: "select";
1696
+ readonly target: any;
1697
+ };
1698
+ featureslisted: {
1699
+ features: Feature[] | undefined;
1700
+ readonly type: "featureslisted";
1701
+ readonly target: any;
1702
+ };
1703
+ featuresmarked: {
1704
+ features: Feature[] | undefined;
1705
+ readonly type: "featuresmarked";
1706
+ readonly target: any;
1707
+ };
1708
+ optionsvisibilitychange: {
1709
+ optionsVisible: boolean;
1710
+ readonly type: "optionsvisibilitychange";
1711
+ readonly target: any;
1712
+ };
1713
+ pick: {
1714
+ feature: Feature | undefined;
1715
+ readonly type: "pick";
1716
+ readonly target: any;
1717
+ };
1718
+ querychange: {
1719
+ query: string;
1720
+ readonly type: "querychange";
1721
+ readonly target: any;
1722
+ };
1723
+ response: {
1724
+ url: string;
1725
+ featureCollection: FeatureCollection;
1726
+ readonly type: "response";
1727
+ readonly target: any;
1728
+ };
1729
+ reversetoggle: {
1730
+ reverse: boolean;
1731
+ readonly type: "reversetoggle";
1732
+ readonly target: any;
1733
+ };
1734
+ }[T]) => void): any;
1735
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1736
+ setOptions(options: OPTS): void;
1737
+ setQuery(value: string, submit?: boolean): void;
1738
+ clearMap(): void;
1739
+ clearList(): void;
1740
+ setReverseMode(value: boolean): void;
1741
+ focus(): void;
1742
+ blur(): void;
1743
+ onRemove(): void;
1744
+ _listeners: import("maplibre-gl").Listeners;
1745
+ _oneTimeListeners: import("maplibre-gl").Listeners;
1746
+ _eventedParent: Evented;
1747
+ _eventedParentData: any | (() => any);
1748
+ fire(event: {
1749
+ readonly type: string;
1750
+ } | string, properties?: any): any;
1751
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
1752
+ };
1753
+ };
1754
+ };
1755
+ QueryChangeEvent: {
1756
+ new (target: {
1757
+ "__#1@#gc"?: GeocodingControlComponent;
1758
+ "__#1@#options": OPTS;
1759
+ onAddInt(map: Map): HTMLElement;
1760
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1761
+ select: {
1762
+ feature: Feature | undefined;
1763
+ readonly type: "select";
1764
+ readonly target: any;
1765
+ };
1766
+ featureslisted: {
1767
+ features: Feature[] | undefined;
1768
+ readonly type: "featureslisted";
1769
+ readonly target: any;
1770
+ };
1771
+ featuresmarked: {
1772
+ features: Feature[] | undefined;
1773
+ readonly type: "featuresmarked";
1774
+ readonly target: any;
1775
+ };
1776
+ optionsvisibilitychange: {
1777
+ optionsVisible: boolean;
1778
+ readonly type: "optionsvisibilitychange";
1779
+ readonly target: any;
1780
+ };
1781
+ pick: {
1782
+ feature: Feature | undefined;
1783
+ readonly type: "pick";
1784
+ readonly target: any;
1785
+ };
1786
+ querychange: {
1787
+ query: string;
1788
+ readonly type: "querychange";
1789
+ readonly target: any;
1790
+ };
1791
+ response: {
1792
+ url: string;
1793
+ featureCollection: FeatureCollection;
1794
+ readonly type: "response";
1795
+ readonly target: any;
1796
+ };
1797
+ reversetoggle: {
1798
+ reverse: boolean;
1799
+ readonly type: "reversetoggle";
1800
+ readonly target: any;
1801
+ };
1802
+ }[T]) => void): any;
1803
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1804
+ select: {
1805
+ feature: Feature | undefined;
1806
+ readonly type: "select";
1807
+ readonly target: any;
1808
+ };
1809
+ featureslisted: {
1810
+ features: Feature[] | undefined;
1811
+ readonly type: "featureslisted";
1812
+ readonly target: any;
1813
+ };
1814
+ featuresmarked: {
1815
+ features: Feature[] | undefined;
1816
+ readonly type: "featuresmarked";
1817
+ readonly target: any;
1818
+ };
1819
+ optionsvisibilitychange: {
1820
+ optionsVisible: boolean;
1821
+ readonly type: "optionsvisibilitychange";
1822
+ readonly target: any;
1823
+ };
1824
+ pick: {
1825
+ feature: Feature | undefined;
1826
+ readonly type: "pick";
1827
+ readonly target: any;
1828
+ };
1829
+ querychange: {
1830
+ query: string;
1831
+ readonly type: "querychange";
1832
+ readonly target: any;
1833
+ };
1834
+ response: {
1835
+ url: string;
1836
+ featureCollection: FeatureCollection;
1837
+ readonly type: "response";
1838
+ readonly target: any;
1839
+ };
1840
+ reversetoggle: {
1841
+ reverse: boolean;
1842
+ readonly type: "reversetoggle";
1843
+ readonly target: any;
1844
+ };
1845
+ }[T]) => void): any;
1846
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1847
+ select: {
1848
+ feature: Feature | undefined;
1849
+ readonly type: "select";
1850
+ readonly target: any;
1851
+ };
1852
+ featureslisted: {
1853
+ features: Feature[] | undefined;
1854
+ readonly type: "featureslisted";
1855
+ readonly target: any;
1856
+ };
1857
+ featuresmarked: {
1858
+ features: Feature[] | undefined;
1859
+ readonly type: "featuresmarked";
1860
+ readonly target: any;
1861
+ };
1862
+ optionsvisibilitychange: {
1863
+ optionsVisible: boolean;
1864
+ readonly type: "optionsvisibilitychange";
1865
+ readonly target: any;
1866
+ };
1867
+ pick: {
1868
+ feature: Feature | undefined;
1869
+ readonly type: "pick";
1870
+ readonly target: any;
1871
+ };
1872
+ querychange: {
1873
+ query: string;
1874
+ readonly type: "querychange";
1875
+ readonly target: any;
1876
+ };
1877
+ response: {
1878
+ url: string;
1879
+ featureCollection: FeatureCollection;
1880
+ readonly type: "response";
1881
+ readonly target: any;
1882
+ };
1883
+ reversetoggle: {
1884
+ reverse: boolean;
1885
+ readonly type: "reversetoggle";
1886
+ readonly target: any;
1887
+ };
1888
+ }[T]) => void): any;
1889
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
1890
+ setOptions(options: OPTS): void;
1891
+ setQuery(value: string, submit?: boolean): void;
1892
+ clearMap(): void;
1893
+ clearList(): void;
1894
+ setReverseMode(value: boolean): void;
1895
+ focus(): void;
1896
+ blur(): void;
1897
+ onRemove(): void;
1898
+ _listeners: import("maplibre-gl").Listeners;
1899
+ _oneTimeListeners: import("maplibre-gl").Listeners;
1900
+ _eventedParent: Evented;
1901
+ _eventedParentData: any | (() => any);
1902
+ fire(event: {
1903
+ readonly type: string;
1904
+ } | string, properties?: any): any;
1905
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
1906
+ }, query: string): {
1907
+ query: string;
1908
+ readonly type: "querychange";
1909
+ readonly target: {
1910
+ "__#1@#gc"?: GeocodingControlComponent;
1911
+ "__#1@#options": OPTS;
1912
+ onAddInt(map: Map): HTMLElement;
1913
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1914
+ select: {
1915
+ feature: Feature | undefined;
1916
+ readonly type: "select";
1917
+ readonly target: any;
1918
+ };
1919
+ featureslisted: {
1920
+ features: Feature[] | undefined;
1921
+ readonly type: "featureslisted";
1922
+ readonly target: any;
1923
+ };
1924
+ featuresmarked: {
1925
+ features: Feature[] | undefined;
1926
+ readonly type: "featuresmarked";
1927
+ readonly target: any;
1928
+ };
1929
+ optionsvisibilitychange: {
1930
+ optionsVisible: boolean;
1931
+ readonly type: "optionsvisibilitychange";
1932
+ readonly target: any;
1933
+ };
1934
+ pick: {
1935
+ feature: Feature | undefined;
1936
+ readonly type: "pick";
1937
+ readonly target: any;
1938
+ };
1939
+ querychange: {
1940
+ query: string;
1941
+ readonly type: "querychange";
1942
+ readonly target: any;
1943
+ };
1944
+ response: {
1945
+ url: string;
1946
+ featureCollection: FeatureCollection;
1947
+ readonly type: "response";
1948
+ readonly target: any;
1949
+ };
1950
+ reversetoggle: {
1951
+ reverse: boolean;
1952
+ readonly type: "reversetoggle";
1953
+ readonly target: any;
1954
+ };
1955
+ }[T]) => void): any;
1956
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
1957
+ select: {
1958
+ feature: Feature | undefined;
1959
+ readonly type: "select";
1960
+ readonly target: any;
1961
+ };
1962
+ featureslisted: {
1963
+ features: Feature[] | undefined;
1964
+ readonly type: "featureslisted";
1965
+ readonly target: any;
1966
+ };
1967
+ featuresmarked: {
1968
+ features: Feature[] | undefined;
1969
+ readonly type: "featuresmarked";
1970
+ readonly target: any;
1971
+ };
1972
+ optionsvisibilitychange: {
1973
+ optionsVisible: boolean;
1974
+ readonly type: "optionsvisibilitychange";
1975
+ readonly target: any;
1976
+ };
1977
+ pick: {
1978
+ feature: Feature | undefined;
1979
+ readonly type: "pick";
1980
+ readonly target: any;
1981
+ };
1982
+ querychange: {
1983
+ query: string;
1984
+ readonly type: "querychange";
1985
+ readonly target: any;
1986
+ };
1987
+ response: {
1988
+ url: string;
1989
+ featureCollection: FeatureCollection;
1990
+ readonly type: "response";
1991
+ readonly target: any;
1992
+ };
1993
+ reversetoggle: {
1994
+ reverse: boolean;
1995
+ readonly type: "reversetoggle";
1996
+ readonly target: any;
1997
+ };
1998
+ }[T]) => void): any;
1999
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2000
+ select: {
2001
+ feature: Feature | undefined;
2002
+ readonly type: "select";
2003
+ readonly target: any;
2004
+ };
2005
+ featureslisted: {
2006
+ features: Feature[] | undefined;
2007
+ readonly type: "featureslisted";
2008
+ readonly target: any;
2009
+ };
2010
+ featuresmarked: {
2011
+ features: Feature[] | undefined;
2012
+ readonly type: "featuresmarked";
2013
+ readonly target: any;
2014
+ };
2015
+ optionsvisibilitychange: {
2016
+ optionsVisible: boolean;
2017
+ readonly type: "optionsvisibilitychange";
2018
+ readonly target: any;
2019
+ };
2020
+ pick: {
2021
+ feature: Feature | undefined;
2022
+ readonly type: "pick";
2023
+ readonly target: any;
2024
+ };
2025
+ querychange: {
2026
+ query: string;
2027
+ readonly type: "querychange";
2028
+ readonly target: any;
2029
+ };
2030
+ response: {
2031
+ url: string;
2032
+ featureCollection: FeatureCollection;
2033
+ readonly type: "response";
2034
+ readonly target: any;
2035
+ };
2036
+ reversetoggle: {
2037
+ reverse: boolean;
2038
+ readonly type: "reversetoggle";
2039
+ readonly target: any;
2040
+ };
2041
+ }[T]) => void): any;
2042
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2043
+ setOptions(options: OPTS): void;
2044
+ setQuery(value: string, submit?: boolean): void;
2045
+ clearMap(): void;
2046
+ clearList(): void;
2047
+ setReverseMode(value: boolean): void;
2048
+ focus(): void;
2049
+ blur(): void;
2050
+ onRemove(): void;
2051
+ _listeners: import("maplibre-gl").Listeners;
2052
+ _oneTimeListeners: import("maplibre-gl").Listeners;
2053
+ _eventedParent: Evented;
2054
+ _eventedParentData: any | (() => any);
2055
+ fire(event: {
2056
+ readonly type: string;
2057
+ } | string, properties?: any): any;
2058
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
2059
+ };
2060
+ };
2061
+ };
2062
+ ResponseEvent: {
2063
+ new (target: {
2064
+ "__#1@#gc"?: GeocodingControlComponent;
2065
+ "__#1@#options": OPTS;
2066
+ onAddInt(map: Map): HTMLElement;
2067
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2068
+ select: {
2069
+ feature: Feature | undefined;
2070
+ readonly type: "select";
2071
+ readonly target: any;
2072
+ };
2073
+ featureslisted: {
2074
+ features: Feature[] | undefined;
2075
+ readonly type: "featureslisted";
2076
+ readonly target: any;
2077
+ };
2078
+ featuresmarked: {
2079
+ features: Feature[] | undefined;
2080
+ readonly type: "featuresmarked";
2081
+ readonly target: any;
2082
+ };
2083
+ optionsvisibilitychange: {
2084
+ optionsVisible: boolean;
2085
+ readonly type: "optionsvisibilitychange";
2086
+ readonly target: any;
2087
+ };
2088
+ pick: {
2089
+ feature: Feature | undefined;
2090
+ readonly type: "pick";
2091
+ readonly target: any;
2092
+ };
2093
+ querychange: {
2094
+ query: string;
2095
+ readonly type: "querychange";
2096
+ readonly target: any;
2097
+ };
2098
+ response: {
2099
+ url: string;
2100
+ featureCollection: FeatureCollection;
2101
+ readonly type: "response";
2102
+ readonly target: any;
2103
+ };
2104
+ reversetoggle: {
2105
+ reverse: boolean;
2106
+ readonly type: "reversetoggle";
2107
+ readonly target: any;
2108
+ };
2109
+ }[T]) => void): any;
2110
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2111
+ select: {
2112
+ feature: Feature | undefined;
2113
+ readonly type: "select";
2114
+ readonly target: any;
2115
+ };
2116
+ featureslisted: {
2117
+ features: Feature[] | undefined;
2118
+ readonly type: "featureslisted";
2119
+ readonly target: any;
2120
+ };
2121
+ featuresmarked: {
2122
+ features: Feature[] | undefined;
2123
+ readonly type: "featuresmarked";
2124
+ readonly target: any;
2125
+ };
2126
+ optionsvisibilitychange: {
2127
+ optionsVisible: boolean;
2128
+ readonly type: "optionsvisibilitychange";
2129
+ readonly target: any;
2130
+ };
2131
+ pick: {
2132
+ feature: Feature | undefined;
2133
+ readonly type: "pick";
2134
+ readonly target: any;
2135
+ };
2136
+ querychange: {
2137
+ query: string;
2138
+ readonly type: "querychange";
2139
+ readonly target: any;
2140
+ };
2141
+ response: {
2142
+ url: string;
2143
+ featureCollection: FeatureCollection;
2144
+ readonly type: "response";
2145
+ readonly target: any;
2146
+ };
2147
+ reversetoggle: {
2148
+ reverse: boolean;
2149
+ readonly type: "reversetoggle";
2150
+ readonly target: any;
2151
+ };
2152
+ }[T]) => void): any;
2153
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2154
+ select: {
2155
+ feature: Feature | undefined;
2156
+ readonly type: "select";
2157
+ readonly target: any;
2158
+ };
2159
+ featureslisted: {
2160
+ features: Feature[] | undefined;
2161
+ readonly type: "featureslisted";
2162
+ readonly target: any;
2163
+ };
2164
+ featuresmarked: {
2165
+ features: Feature[] | undefined;
2166
+ readonly type: "featuresmarked";
2167
+ readonly target: any;
2168
+ };
2169
+ optionsvisibilitychange: {
2170
+ optionsVisible: boolean;
2171
+ readonly type: "optionsvisibilitychange";
2172
+ readonly target: any;
2173
+ };
2174
+ pick: {
2175
+ feature: Feature | undefined;
2176
+ readonly type: "pick";
2177
+ readonly target: any;
2178
+ };
2179
+ querychange: {
2180
+ query: string;
2181
+ readonly type: "querychange";
2182
+ readonly target: any;
2183
+ };
2184
+ response: {
2185
+ url: string;
2186
+ featureCollection: FeatureCollection;
2187
+ readonly type: "response";
2188
+ readonly target: any;
2189
+ };
2190
+ reversetoggle: {
2191
+ reverse: boolean;
2192
+ readonly type: "reversetoggle";
2193
+ readonly target: any;
2194
+ };
2195
+ }[T]) => void): any;
2196
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2197
+ setOptions(options: OPTS): void;
2198
+ setQuery(value: string, submit?: boolean): void;
2199
+ clearMap(): void;
2200
+ clearList(): void;
2201
+ setReverseMode(value: boolean): void;
2202
+ focus(): void;
2203
+ blur(): void;
2204
+ onRemove(): void;
2205
+ _listeners: import("maplibre-gl").Listeners;
2206
+ _oneTimeListeners: import("maplibre-gl").Listeners;
2207
+ _eventedParent: Evented;
2208
+ _eventedParentData: any | (() => any);
2209
+ fire(event: {
2210
+ readonly type: string;
2211
+ } | string, properties?: any): any;
2212
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
2213
+ }, url: string, featureCollection: FeatureCollection): {
2214
+ url: string;
2215
+ featureCollection: FeatureCollection;
2216
+ readonly type: "response";
2217
+ readonly target: {
2218
+ "__#1@#gc"?: GeocodingControlComponent;
2219
+ "__#1@#options": OPTS;
2220
+ onAddInt(map: Map): HTMLElement;
2221
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2222
+ select: {
2223
+ feature: Feature | undefined;
2224
+ readonly type: "select";
2225
+ readonly target: any;
2226
+ };
2227
+ featureslisted: {
2228
+ features: Feature[] | undefined;
2229
+ readonly type: "featureslisted";
2230
+ readonly target: any;
2231
+ };
2232
+ featuresmarked: {
2233
+ features: Feature[] | undefined;
2234
+ readonly type: "featuresmarked";
2235
+ readonly target: any;
2236
+ };
2237
+ optionsvisibilitychange: {
2238
+ optionsVisible: boolean;
2239
+ readonly type: "optionsvisibilitychange";
2240
+ readonly target: any;
2241
+ };
2242
+ pick: {
2243
+ feature: Feature | undefined;
2244
+ readonly type: "pick";
2245
+ readonly target: any;
2246
+ };
2247
+ querychange: {
2248
+ query: string;
2249
+ readonly type: "querychange";
2250
+ readonly target: any;
2251
+ };
2252
+ response: {
2253
+ url: string;
2254
+ featureCollection: FeatureCollection;
2255
+ readonly type: "response";
2256
+ readonly target: any;
2257
+ };
2258
+ reversetoggle: {
2259
+ reverse: boolean;
2260
+ readonly type: "reversetoggle";
2261
+ readonly target: any;
2262
+ };
2263
+ }[T]) => void): any;
2264
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2265
+ select: {
2266
+ feature: Feature | undefined;
2267
+ readonly type: "select";
2268
+ readonly target: any;
2269
+ };
2270
+ featureslisted: {
2271
+ features: Feature[] | undefined;
2272
+ readonly type: "featureslisted";
2273
+ readonly target: any;
2274
+ };
2275
+ featuresmarked: {
2276
+ features: Feature[] | undefined;
2277
+ readonly type: "featuresmarked";
2278
+ readonly target: any;
2279
+ };
2280
+ optionsvisibilitychange: {
2281
+ optionsVisible: boolean;
2282
+ readonly type: "optionsvisibilitychange";
2283
+ readonly target: any;
2284
+ };
2285
+ pick: {
2286
+ feature: Feature | undefined;
2287
+ readonly type: "pick";
2288
+ readonly target: any;
2289
+ };
2290
+ querychange: {
2291
+ query: string;
2292
+ readonly type: "querychange";
2293
+ readonly target: any;
2294
+ };
2295
+ response: {
2296
+ url: string;
2297
+ featureCollection: FeatureCollection;
2298
+ readonly type: "response";
2299
+ readonly target: any;
2300
+ };
2301
+ reversetoggle: {
2302
+ reverse: boolean;
2303
+ readonly type: "reversetoggle";
2304
+ readonly target: any;
2305
+ };
2306
+ }[T]) => void): any;
2307
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2308
+ select: {
2309
+ feature: Feature | undefined;
2310
+ readonly type: "select";
2311
+ readonly target: any;
2312
+ };
2313
+ featureslisted: {
2314
+ features: Feature[] | undefined;
2315
+ readonly type: "featureslisted";
2316
+ readonly target: any;
2317
+ };
2318
+ featuresmarked: {
2319
+ features: Feature[] | undefined;
2320
+ readonly type: "featuresmarked";
2321
+ readonly target: any;
2322
+ };
2323
+ optionsvisibilitychange: {
2324
+ optionsVisible: boolean;
2325
+ readonly type: "optionsvisibilitychange";
2326
+ readonly target: any;
2327
+ };
2328
+ pick: {
2329
+ feature: Feature | undefined;
2330
+ readonly type: "pick";
2331
+ readonly target: any;
2332
+ };
2333
+ querychange: {
2334
+ query: string;
2335
+ readonly type: "querychange";
2336
+ readonly target: any;
2337
+ };
2338
+ response: {
2339
+ url: string;
2340
+ featureCollection: FeatureCollection;
2341
+ readonly type: "response";
2342
+ readonly target: any;
2343
+ };
2344
+ reversetoggle: {
2345
+ reverse: boolean;
2346
+ readonly type: "reversetoggle";
2347
+ readonly target: any;
2348
+ };
2349
+ }[T]) => void): any;
2350
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2351
+ setOptions(options: OPTS): void;
2352
+ setQuery(value: string, submit?: boolean): void;
2353
+ clearMap(): void;
2354
+ clearList(): void;
2355
+ setReverseMode(value: boolean): void;
2356
+ focus(): void;
2357
+ blur(): void;
2358
+ onRemove(): void;
2359
+ _listeners: import("maplibre-gl").Listeners;
2360
+ _oneTimeListeners: import("maplibre-gl").Listeners;
2361
+ _eventedParent: Evented;
2362
+ _eventedParentData: any | (() => any);
2363
+ fire(event: {
2364
+ readonly type: string;
2365
+ } | string, properties?: any): any;
2366
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
2367
+ };
2368
+ };
2369
+ };
2370
+ ReverseToggleEvent: {
2371
+ new (target: {
2372
+ "__#1@#gc"?: GeocodingControlComponent;
2373
+ "__#1@#options": OPTS;
2374
+ onAddInt(map: Map): HTMLElement;
2375
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2376
+ select: {
2377
+ feature: Feature | undefined;
2378
+ readonly type: "select";
2379
+ readonly target: any;
2380
+ };
2381
+ featureslisted: {
2382
+ features: Feature[] | undefined;
2383
+ readonly type: "featureslisted";
2384
+ readonly target: any;
2385
+ };
2386
+ featuresmarked: {
2387
+ features: Feature[] | undefined;
2388
+ readonly type: "featuresmarked";
2389
+ readonly target: any;
2390
+ };
2391
+ optionsvisibilitychange: {
2392
+ optionsVisible: boolean;
2393
+ readonly type: "optionsvisibilitychange";
2394
+ readonly target: any;
2395
+ };
2396
+ pick: {
2397
+ feature: Feature | undefined;
2398
+ readonly type: "pick";
2399
+ readonly target: any;
2400
+ };
2401
+ querychange: {
2402
+ query: string;
2403
+ readonly type: "querychange";
2404
+ readonly target: any;
2405
+ };
2406
+ response: {
2407
+ url: string;
2408
+ featureCollection: FeatureCollection;
2409
+ readonly type: "response";
2410
+ readonly target: any;
2411
+ };
2412
+ reversetoggle: {
2413
+ reverse: boolean;
2414
+ readonly type: "reversetoggle";
2415
+ readonly target: any;
2416
+ };
2417
+ }[T]) => void): any;
2418
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2419
+ select: {
2420
+ feature: Feature | undefined;
2421
+ readonly type: "select";
2422
+ readonly target: any;
2423
+ };
2424
+ featureslisted: {
2425
+ features: Feature[] | undefined;
2426
+ readonly type: "featureslisted";
2427
+ readonly target: any;
2428
+ };
2429
+ featuresmarked: {
2430
+ features: Feature[] | undefined;
2431
+ readonly type: "featuresmarked";
2432
+ readonly target: any;
2433
+ };
2434
+ optionsvisibilitychange: {
2435
+ optionsVisible: boolean;
2436
+ readonly type: "optionsvisibilitychange";
2437
+ readonly target: any;
2438
+ };
2439
+ pick: {
2440
+ feature: Feature | undefined;
2441
+ readonly type: "pick";
2442
+ readonly target: any;
2443
+ };
2444
+ querychange: {
2445
+ query: string;
2446
+ readonly type: "querychange";
2447
+ readonly target: any;
2448
+ };
2449
+ response: {
2450
+ url: string;
2451
+ featureCollection: FeatureCollection;
2452
+ readonly type: "response";
2453
+ readonly target: any;
2454
+ };
2455
+ reversetoggle: {
2456
+ reverse: boolean;
2457
+ readonly type: "reversetoggle";
2458
+ readonly target: any;
2459
+ };
2460
+ }[T]) => void): any;
2461
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2462
+ select: {
2463
+ feature: Feature | undefined;
2464
+ readonly type: "select";
2465
+ readonly target: any;
2466
+ };
2467
+ featureslisted: {
2468
+ features: Feature[] | undefined;
2469
+ readonly type: "featureslisted";
2470
+ readonly target: any;
2471
+ };
2472
+ featuresmarked: {
2473
+ features: Feature[] | undefined;
2474
+ readonly type: "featuresmarked";
2475
+ readonly target: any;
2476
+ };
2477
+ optionsvisibilitychange: {
2478
+ optionsVisible: boolean;
2479
+ readonly type: "optionsvisibilitychange";
2480
+ readonly target: any;
2481
+ };
2482
+ pick: {
2483
+ feature: Feature | undefined;
2484
+ readonly type: "pick";
2485
+ readonly target: any;
2486
+ };
2487
+ querychange: {
2488
+ query: string;
2489
+ readonly type: "querychange";
2490
+ readonly target: any;
2491
+ };
2492
+ response: {
2493
+ url: string;
2494
+ featureCollection: FeatureCollection;
2495
+ readonly type: "response";
2496
+ readonly target: any;
2497
+ };
2498
+ reversetoggle: {
2499
+ reverse: boolean;
2500
+ readonly type: "reversetoggle";
2501
+ readonly target: any;
2502
+ };
2503
+ }[T]) => void): any;
2504
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2505
+ setOptions(options: OPTS): void;
2506
+ setQuery(value: string, submit?: boolean): void;
2507
+ clearMap(): void;
2508
+ clearList(): void;
2509
+ setReverseMode(value: boolean): void;
2510
+ focus(): void;
2511
+ blur(): void;
2512
+ onRemove(): void;
2513
+ _listeners: import("maplibre-gl").Listeners;
2514
+ _oneTimeListeners: import("maplibre-gl").Listeners;
2515
+ _eventedParent: Evented;
2516
+ _eventedParentData: any | (() => any);
2517
+ fire(event: {
2518
+ readonly type: string;
2519
+ } | string, properties?: any): any;
2520
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
2521
+ }, reverse: boolean): {
2522
+ reverse: boolean;
2523
+ readonly type: "reversetoggle";
2524
+ readonly target: {
2525
+ "__#1@#gc"?: GeocodingControlComponent;
2526
+ "__#1@#options": OPTS;
2527
+ onAddInt(map: Map): HTMLElement;
2528
+ on<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2529
+ select: {
2530
+ feature: Feature | undefined;
2531
+ readonly type: "select";
2532
+ readonly target: any;
2533
+ };
2534
+ featureslisted: {
2535
+ features: Feature[] | undefined;
2536
+ readonly type: "featureslisted";
2537
+ readonly target: any;
2538
+ };
2539
+ featuresmarked: {
2540
+ features: Feature[] | undefined;
2541
+ readonly type: "featuresmarked";
2542
+ readonly target: any;
2543
+ };
2544
+ optionsvisibilitychange: {
2545
+ optionsVisible: boolean;
2546
+ readonly type: "optionsvisibilitychange";
2547
+ readonly target: any;
2548
+ };
2549
+ pick: {
2550
+ feature: Feature | undefined;
2551
+ readonly type: "pick";
2552
+ readonly target: any;
2553
+ };
2554
+ querychange: {
2555
+ query: string;
2556
+ readonly type: "querychange";
2557
+ readonly target: any;
2558
+ };
2559
+ response: {
2560
+ url: string;
2561
+ featureCollection: FeatureCollection;
2562
+ readonly type: "response";
2563
+ readonly target: any;
2564
+ };
2565
+ reversetoggle: {
2566
+ reverse: boolean;
2567
+ readonly type: "reversetoggle";
2568
+ readonly target: any;
2569
+ };
2570
+ }[T]) => void): any;
2571
+ once<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2572
+ select: {
2573
+ feature: Feature | undefined;
2574
+ readonly type: "select";
2575
+ readonly target: any;
2576
+ };
2577
+ featureslisted: {
2578
+ features: Feature[] | undefined;
2579
+ readonly type: "featureslisted";
2580
+ readonly target: any;
2581
+ };
2582
+ featuresmarked: {
2583
+ features: Feature[] | undefined;
2584
+ readonly type: "featuresmarked";
2585
+ readonly target: any;
2586
+ };
2587
+ optionsvisibilitychange: {
2588
+ optionsVisible: boolean;
2589
+ readonly type: "optionsvisibilitychange";
2590
+ readonly target: any;
2591
+ };
2592
+ pick: {
2593
+ feature: Feature | undefined;
2594
+ readonly type: "pick";
2595
+ readonly target: any;
2596
+ };
2597
+ querychange: {
2598
+ query: string;
2599
+ readonly type: "querychange";
2600
+ readonly target: any;
2601
+ };
2602
+ response: {
2603
+ url: string;
2604
+ featureCollection: FeatureCollection;
2605
+ readonly type: "response";
2606
+ readonly target: any;
2607
+ };
2608
+ reversetoggle: {
2609
+ reverse: boolean;
2610
+ readonly type: "reversetoggle";
2611
+ readonly target: any;
2612
+ };
2613
+ }[T]) => void): any;
2614
+ off<T extends "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle">(type: T, listener: (ev: {
2615
+ select: {
2616
+ feature: Feature | undefined;
2617
+ readonly type: "select";
2618
+ readonly target: any;
2619
+ };
2620
+ featureslisted: {
2621
+ features: Feature[] | undefined;
2622
+ readonly type: "featureslisted";
2623
+ readonly target: any;
2624
+ };
2625
+ featuresmarked: {
2626
+ features: Feature[] | undefined;
2627
+ readonly type: "featuresmarked";
2628
+ readonly target: any;
2629
+ };
2630
+ optionsvisibilitychange: {
2631
+ optionsVisible: boolean;
2632
+ readonly type: "optionsvisibilitychange";
2633
+ readonly target: any;
2634
+ };
2635
+ pick: {
2636
+ feature: Feature | undefined;
2637
+ readonly type: "pick";
2638
+ readonly target: any;
2639
+ };
2640
+ querychange: {
2641
+ query: string;
2642
+ readonly type: "querychange";
2643
+ readonly target: any;
2644
+ };
2645
+ response: {
2646
+ url: string;
2647
+ featureCollection: FeatureCollection;
2648
+ readonly type: "response";
2649
+ readonly target: any;
2650
+ };
2651
+ reversetoggle: {
2652
+ reverse: boolean;
2653
+ readonly type: "reversetoggle";
2654
+ readonly target: any;
2655
+ };
2656
+ }[T]) => void): any;
2657
+ listens(type: "pick" | "response" | "select" | "featureslisted" | "featuresmarked" | "optionsvisibilitychange" | "querychange" | "reversetoggle"): boolean;
2658
+ setOptions(options: OPTS): void;
2659
+ setQuery(value: string, submit?: boolean): void;
2660
+ clearMap(): void;
2661
+ clearList(): void;
2662
+ setReverseMode(value: boolean): void;
2663
+ focus(): void;
2664
+ blur(): void;
2665
+ onRemove(): void;
2666
+ _listeners: import("maplibre-gl").Listeners;
2667
+ _oneTimeListeners: import("maplibre-gl").Listeners;
2668
+ _eventedParent: Evented;
2669
+ _eventedParentData: any | (() => any);
2670
+ fire(event: {
2671
+ readonly type: string;
2672
+ } | string, properties?: any): any;
2673
+ setEventedParent(parent?: Evented | null, data?: any | (() => any)): any;
2674
+ };
2675
+ };
2676
+ };
2677
+ };
2678
+ };