@maptiler/geocoding-control 2.0.0-rc.7 → 2.0.0-rc.9
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/leaflet-controller.d.ts +1 -1
- package/leaflet-controller.js +1 -1
- package/leaflet-controller.js.map +1 -1
- package/leaflet-controller.umd.js +1 -1
- package/leaflet-controller.umd.js.map +1 -1
- package/leaflet.js +817 -802
- package/leaflet.js.map +1 -1
- package/leaflet.umd.js +3 -3
- package/leaflet.umd.js.map +1 -1
- package/maplibregl-controller.d.ts +1 -1
- package/maplibregl-controller.js +16 -16
- package/maplibregl-controller.js.map +1 -1
- package/maplibregl-controller.umd.js +1 -1
- package/maplibregl-controller.umd.js.map +1 -1
- package/maplibregl.js +1220 -1205
- package/maplibregl.js.map +1 -1
- package/maplibregl.umd.js +3 -3
- package/maplibregl.umd.js.map +1 -1
- package/maptilersdk.js +1196 -1181
- 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 +5 -5
- package/openlayers-controller.js.map +1 -1
- package/openlayers-controller.umd.js +2 -2
- package/openlayers-controller.umd.js.map +1 -1
- package/openlayers.js +1405 -1391
- package/openlayers.js.map +1 -1
- package/openlayers.umd.js +3 -3
- package/openlayers.umd.js.map +1 -1
- package/package.json +4 -4
- package/react.js +860 -845
- package/react.js.map +1 -1
- package/react.umd.js +1 -1
- package/react.umd.js.map +1 -1
- package/svelte/GeocodingControl.svelte +50 -25
- package/svelte/GeocodingControl.svelte.d.ts +1 -0
- package/svelte/leaflet-controller.d.ts +1 -1
- package/svelte/leaflet-controller.js +1 -1
- package/svelte/maplibregl-controller.d.ts +1 -1
- package/svelte/maplibregl-controller.js +1 -1
- package/svelte/openlayers-controller.d.ts +1 -1
- package/svelte/openlayers-controller.js +1 -1
- package/svelte/openlayers.js +2 -3
- package/svelte/types.d.ts +2 -1
- package/types.d.ts +2 -1
- package/vanilla.js +606 -591
- package/vanilla.js.map +1 -1
- package/vanilla.umd.js +1 -1
- package/vanilla.umd.js.map +1 -1
package/leaflet-controller.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare function createLeafletMapController(map: L.Map, marker?: boolean
|
|
|
6
6
|
fitBounds(bbox: BBox, padding: number, maxZoom?: number): void;
|
|
7
7
|
indicateReverse(reverse: boolean): void;
|
|
8
8
|
setReverseMarker(coordinates?: Position): void;
|
|
9
|
-
|
|
9
|
+
setFeatures(markedFeatures: Feature[] | undefined, picked: Feature | undefined, showPolygonMarker: boolean): void;
|
|
10
10
|
setSelectedMarker(index: number): void;
|
|
11
11
|
getCenterAndZoom(): [number, number, number];
|
|
12
12
|
};
|
package/leaflet-controller.js
CHANGED
|
@@ -1935,7 +1935,7 @@ function an(r, t = !0, e = !0, n = {}, i = {}, o = Tt) {
|
|
|
1935
1935
|
const g = h && [h[1], h[0]];
|
|
1936
1936
|
f ? g ? f.setLatLng(g) : (f.remove(), f = void 0) : g && (t instanceof Function ? f = t(r) ?? void 0 : (f = (typeof t == "object" ? new T.Marker(g, t) : a(g)).addTo(r), (d = f.getElement()) == null || d.classList.add("marker-reverse")));
|
|
1937
1937
|
},
|
|
1938
|
-
|
|
1938
|
+
setFeatures(h, g, d) {
|
|
1939
1939
|
function w(y) {
|
|
1940
1940
|
p.clearLayers(), y && p.addData(y);
|
|
1941
1941
|
}
|