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