@maptiler/geocoding-control 1.4.2-dev.2 → 2.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MapLibreBasedGeocodingControl.d.ts +2971 -35
- package/leaflet-controller.d.ts +1 -1
- package/leaflet-controller.js +580 -569
- package/leaflet-controller.js.map +1 -1
- package/leaflet-controller.umd.js +3 -3
- package/leaflet-controller.umd.js.map +1 -1
- package/leaflet.d.ts +74 -16
- package/leaflet.js +1344 -1311
- package/leaflet.js.map +1 -1
- package/leaflet.umd.js +3 -3
- package/leaflet.umd.js.map +1 -1
- package/maplibregl-controller.d.ts +7 -7
- package/maplibregl-controller.js +683 -661
- package/maplibregl-controller.js.map +1 -1
- package/maplibregl-controller.umd.js +3 -3
- package/maplibregl-controller.umd.js.map +1 -1
- package/maplibregl.js +1632 -1481
- package/maplibregl.js.map +1 -1
- package/maplibregl.umd.js +3 -3
- package/maplibregl.umd.js.map +1 -1
- package/maptilersdk.js +1642 -1488
- package/maptilersdk.js.map +1 -1
- package/maptilersdk.umd.js +3 -3
- package/maptilersdk.umd.js.map +1 -1
- package/openlayers-controller.d.ts +1 -1
- package/openlayers-controller.js +308 -306
- package/openlayers-controller.js.map +1 -1
- package/openlayers-controller.umd.js +3 -3
- package/openlayers-controller.umd.js.map +1 -1
- package/openlayers.d.ts +21 -0
- package/openlayers.js +1301 -1313
- package/openlayers.js.map +1 -1
- package/openlayers.umd.js +3 -3
- package/openlayers.umd.js.map +1 -1
- package/package.json +18 -18
- package/react.d.ts +4 -4
- package/react.js +663 -644
- package/react.js.map +1 -1
- package/react.umd.js +1 -1
- package/react.umd.js.map +1 -1
- package/style.css +1 -1
- package/svelte/FeatureItem.svelte.d.ts +1 -1
- package/svelte/GeocodingControl.svelte +64 -33
- package/svelte/GeocodingControl.svelte.d.ts +25 -9
- package/svelte/MapLibreBasedGeocodingControl.d.ts +2971 -35
- package/svelte/MapLibreBasedGeocodingControl.js +166 -58
- package/svelte/leaflet-controller.d.ts +1 -1
- package/svelte/leaflet-controller.js +50 -24
- package/svelte/leaflet.d.ts +74 -16
- package/svelte/leaflet.js +25 -15
- package/svelte/maplibregl-controller.d.ts +7 -7
- package/svelte/maplibregl-controller.js +96 -66
- package/svelte/maplibregl.js +10 -7
- package/svelte/maptilersdk.js +23 -18
- package/svelte/openlayers-controller.d.ts +1 -1
- package/svelte/openlayers-controller.js +4 -1
- package/svelte/openlayers.d.ts +21 -0
- package/svelte/openlayers.js +30 -45
- package/svelte/react.d.ts +4 -4
- package/svelte/types.d.ts +38 -12
- package/svelte/vanilla.d.ts +14 -1
- package/svelte/vanilla.js +31 -8
- package/types.d.ts +38 -12
- package/vanilla.d.ts +14 -1
- package/vanilla.js +838 -791
- package/vanilla.js.map +1 -1
- package/vanilla.umd.js +1 -1
- package/vanilla.umd.js.map +1 -1
- package/maplibregl.d.ts +0 -16
- package/maptilersdk.d.ts +0 -11
- package/svelte/maplibregl.d.ts +0 -16
- package/svelte/maptilersdk.d.ts +0 -11
package/maplibregl.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Map } from "maplibre-gl";
|
|
2
|
-
import * as maplibregl from "maplibre-gl";
|
|
3
|
-
import type GeocodingControlComponent from "./GeocodingControl.svelte";
|
|
4
|
-
import { MapLibreBasedGeocodingControl, type MapLibreBaseControlOptions, type Props } from "./MapLibreBasedGeocodingControl";
|
|
5
|
-
export { createMapLibreGlMapController } from "./maplibregl-controller";
|
|
6
|
-
type Options = MapLibreBaseControlOptions & {
|
|
7
|
-
/**
|
|
8
|
-
* Maptiler API key. Optional if used with MapTiler SDK.
|
|
9
|
-
*/
|
|
10
|
-
apiKey: string;
|
|
11
|
-
};
|
|
12
|
-
export declare class GeocodingControl extends MapLibreBasedGeocodingControl<Options> implements maplibregl.IControl {
|
|
13
|
-
getMapLibreGl(): typeof maplibregl;
|
|
14
|
-
onAdd(map: Map): HTMLElement;
|
|
15
|
-
getExtraProps(): Partial<Props<GeocodingControlComponent>>;
|
|
16
|
-
}
|
package/maptilersdk.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as maptilersdk from "@maptiler/sdk";
|
|
2
|
-
import type * as maplibregl from "maplibre-gl";
|
|
3
|
-
import type { Map } from "maplibre-gl";
|
|
4
|
-
import type GeocodingControlComponent from "./GeocodingControl.svelte";
|
|
5
|
-
import { MapLibreBasedGeocodingControl, type MapLibreBaseControlOptions, type Props } from "./MapLibreBasedGeocodingControl";
|
|
6
|
-
export { createMapLibreGlMapController } from "./maplibregl-controller";
|
|
7
|
-
export declare class GeocodingControl extends MapLibreBasedGeocodingControl<MapLibreBaseControlOptions> implements maptilersdk.IControl {
|
|
8
|
-
getMapLibreGl(): typeof maplibregl;
|
|
9
|
-
onAdd(map: maptilersdk.Map): HTMLElement;
|
|
10
|
-
getExtraProps(map: Map, div: HTMLElement): Partial<Props<GeocodingControlComponent>>;
|
|
11
|
-
}
|
package/svelte/maplibregl.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Map } from "maplibre-gl";
|
|
2
|
-
import * as maplibregl from "maplibre-gl";
|
|
3
|
-
import type GeocodingControlComponent from "./GeocodingControl.svelte";
|
|
4
|
-
import { MapLibreBasedGeocodingControl, type MapLibreBaseControlOptions, type Props } from "./MapLibreBasedGeocodingControl";
|
|
5
|
-
export { createMapLibreGlMapController } from "./maplibregl-controller";
|
|
6
|
-
type Options = MapLibreBaseControlOptions & {
|
|
7
|
-
/**
|
|
8
|
-
* Maptiler API key. Optional if used with MapTiler SDK.
|
|
9
|
-
*/
|
|
10
|
-
apiKey: string;
|
|
11
|
-
};
|
|
12
|
-
export declare class GeocodingControl extends MapLibreBasedGeocodingControl<Options> implements maplibregl.IControl {
|
|
13
|
-
getMapLibreGl(): typeof maplibregl;
|
|
14
|
-
onAdd(map: Map): HTMLElement;
|
|
15
|
-
getExtraProps(): Partial<Props<GeocodingControlComponent>>;
|
|
16
|
-
}
|
package/svelte/maptilersdk.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as maptilersdk from "@maptiler/sdk";
|
|
2
|
-
import type * as maplibregl from "maplibre-gl";
|
|
3
|
-
import type { Map } from "maplibre-gl";
|
|
4
|
-
import type GeocodingControlComponent from "./GeocodingControl.svelte";
|
|
5
|
-
import { MapLibreBasedGeocodingControl, type MapLibreBaseControlOptions, type Props } from "./MapLibreBasedGeocodingControl";
|
|
6
|
-
export { createMapLibreGlMapController } from "./maplibregl-controller";
|
|
7
|
-
export declare class GeocodingControl extends MapLibreBasedGeocodingControl<MapLibreBaseControlOptions> implements maptilersdk.IControl {
|
|
8
|
-
getMapLibreGl(): typeof maplibregl;
|
|
9
|
-
onAdd(map: maptilersdk.Map): HTMLElement;
|
|
10
|
-
getExtraProps(map: Map, div: HTMLElement): Partial<Props<GeocodingControlComponent>>;
|
|
11
|
-
}
|