@maptiler/geocoding-control 1.4.2-dev.3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MapLibreBasedGeocodingControl.d.ts +70 -35
- package/leaflet-controller.d.ts +1 -1
- package/leaflet-controller.js +407 -398
- package/leaflet-controller.js.map +1 -1
- package/leaflet-controller.umd.js +3 -3
- package/leaflet-controller.umd.js.map +1 -1
- package/leaflet.d.ts +52 -16
- package/leaflet.js +654 -638
- package/leaflet.js.map +1 -1
- package/leaflet.umd.js +3 -3
- package/leaflet.umd.js.map +1 -1
- package/maplibregl-controller.d.ts +7 -7
- package/maplibregl-controller.js +421 -413
- package/maplibregl-controller.js.map +1 -1
- package/maplibregl-controller.umd.js +3 -3
- package/maplibregl-controller.umd.js.map +1 -1
- package/maplibregl.d.ts +29 -5
- package/maplibregl.js +1352 -1346
- package/maplibregl.js.map +1 -1
- package/maplibregl.umd.js +3 -3
- package/maplibregl.umd.js.map +1 -1
- package/maptilersdk.d.ts +29 -5
- package/maptilersdk.js +1315 -1303
- package/maptilersdk.js.map +1 -1
- package/maptilersdk.umd.js +3 -3
- package/maptilersdk.umd.js.map +1 -1
- package/openlayers.js +1 -1
- package/openlayers.js.map +1 -1
- package/openlayers.umd.js +1 -1
- package/openlayers.umd.js.map +1 -1
- package/package.json +5 -5
- package/react.js +1 -1
- package/react.js.map +1 -1
- package/react.umd.js +1 -1
- package/react.umd.js.map +1 -1
- package/svelte/GeocodingControl.svelte +1 -1
- package/svelte/MapLibreBasedGeocodingControl.d.ts +70 -35
- package/svelte/MapLibreBasedGeocodingControl.js +69 -66
- package/svelte/leaflet-controller.d.ts +1 -1
- package/svelte/leaflet-controller.js +47 -24
- package/svelte/leaflet.d.ts +52 -16
- package/svelte/leaflet.js +14 -2
- package/svelte/maplibregl-controller.d.ts +7 -7
- package/svelte/maplibregl-controller.js +55 -34
- package/svelte/maplibregl.d.ts +29 -5
- package/svelte/maplibregl.js +3 -8
- package/svelte/maptilersdk.d.ts +29 -5
- package/svelte/maptilersdk.js +15 -18
- package/vanilla.js +1 -1
- package/vanilla.js.map +1 -1
- package/vanilla.umd.js +1 -1
- package/vanilla.umd.js.map +1 -1
package/maptilersdk.d.ts
CHANGED
|
@@ -1,11 +1,35 @@
|
|
|
1
1
|
import * as maptilersdk from "@maptiler/sdk";
|
|
2
2
|
import type * as maplibregl from "maplibre-gl";
|
|
3
3
|
import type { Map } from "maplibre-gl";
|
|
4
|
-
import type
|
|
5
|
-
import { MapLibreBasedGeocodingControl, type MapLibreBaseControlOptions, type Props } from "./MapLibreBasedGeocodingControl";
|
|
4
|
+
import { type MapLibreBaseControlOptions } from "./MapLibreBasedGeocodingControl";
|
|
6
5
|
export { createMapLibreGlMapController } from "./maplibregl-controller";
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
declare const Base: {
|
|
7
|
+
new <T extends MapLibreBaseControlOptions>(options?: T): {
|
|
8
|
+
"__#1@#gc"?: import("svelte").SvelteComponent;
|
|
9
|
+
"__#1@#options": T;
|
|
10
|
+
onAddInt(map: Map): HTMLElement;
|
|
11
|
+
setOptions(options: T): void;
|
|
12
|
+
setQuery(value: string, submit?: boolean): void;
|
|
13
|
+
clearMap(): void;
|
|
14
|
+
clearList(): void;
|
|
15
|
+
setReverseMode(value: boolean): void;
|
|
16
|
+
focus(): void;
|
|
17
|
+
blur(): void;
|
|
18
|
+
onRemove(): void;
|
|
19
|
+
_listeners: maptilersdk.Listeners;
|
|
20
|
+
_oneTimeListeners: maptilersdk.Listeners;
|
|
21
|
+
_eventedParent: maplibregl.Evented;
|
|
22
|
+
_eventedParentData: any | (() => any);
|
|
23
|
+
on(type: string, listener: maptilersdk.Listener): any;
|
|
24
|
+
off(type: string, listener: maptilersdk.Listener): any;
|
|
25
|
+
once(type: string, listener?: maptilersdk.Listener): Promise<any> | any;
|
|
26
|
+
fire(event: {
|
|
27
|
+
readonly type: string;
|
|
28
|
+
} | string, properties?: any): any;
|
|
29
|
+
listens(type: string): boolean;
|
|
30
|
+
setEventedParent(parent?: maplibregl.Evented | null, data?: any | (() => any)): any;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export declare class GeocodingControl extends Base<MapLibreBaseControlOptions> implements maptilersdk.IControl {
|
|
9
34
|
onAdd(map: maptilersdk.Map): HTMLElement;
|
|
10
|
-
getExtraProps(map: Map, div: HTMLElement): Partial<Props<GeocodingControlComponent>>;
|
|
11
35
|
}
|