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