@maptiler/geocoding-control 2.0.1 → 2.1.0-rc1
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 +1037 -626
- package/icons/10pin.svg +4 -1
- package/icons/9pin.svg +4 -1
- package/icons/alcohol.svg +1 -1
- package/icons/alpine_hut.svg +1 -1
- package/icons/apartment.svg +4 -1
- package/icons/area.svg +1 -5
- package/icons/artwork.svg +4 -1
- package/icons/beauty.svg +14 -1
- package/icons/bicycle_repair_station.svg +18 -1
- package/icons/biergarten.svg +4 -1
- package/icons/books.svg +14 -1
- package/icons/bowl.svg +4 -1
- package/icons/bowling_alley.svg +4 -1
- package/icons/bus_station.svg +1 -1
- package/icons/camping.svg +1 -1
- package/icons/car_repair.svg +14 -1
- package/icons/car_wash.svg +19 -1
- package/icons/cave_entrance.svg +15 -1
- package/icons/chalet.svg +1 -1
- package/icons/chemist.svg +14 -1
- package/icons/church.svg +4 -1
- package/icons/community_centre.svg +20 -1
- package/icons/firestation.svg +4 -1
- package/icons/guest_house.svg +29 -8
- package/icons/hotel.svg +1 -1
- package/icons/housenumber.svg +19 -14
- package/icons/hut.svg +1 -4
- package/icons/medical_supply.svg +20 -1
- package/icons/memorial.svg +14 -1
- package/icons/motel.svg +19 -1
- package/icons/post.svg +1 -1
- package/icons/post_office.svg +1 -1
- package/icons/postal_code.svg +1 -23
- package/icons/public_bookcase.svg +14 -1
- package/icons/public_building.svg +4 -1
- package/icons/shintoist.svg +1 -1
- package/icons/street.svg +11 -14
- package/icons/vehicle_inspection.svg +18 -1
- package/icons/wilderness_hut.svg +1 -1
- package/leaflet-controller.js +32 -31
- package/leaflet-controller.js.map +1 -1
- package/leaflet-controller.umd.js +1 -1
- package/leaflet-controller.umd.js.map +1 -1
- package/leaflet.d.ts +32 -1
- package/leaflet.js +1578 -1402
- package/leaflet.js.map +1 -1
- package/leaflet.umd.js +3 -3
- package/leaflet.umd.js.map +1 -1
- package/maplibregl-controller.js +5 -5
- package/maplibregl-controller.js.map +1 -1
- package/maplibregl-controller.umd.js +1 -1
- package/maplibregl-controller.umd.js.map +1 -1
- package/maplibregl.d.ts +527 -626
- package/maplibregl.js +1709 -1538
- package/maplibregl.js.map +1 -1
- package/maplibregl.umd.js +3 -3
- package/maplibregl.umd.js.map +1 -1
- package/maptilersdk.d.ts +527 -626
- package/maptilersdk.js +1705 -1534
- package/maptilersdk.js.map +1 -1
- package/maptilersdk.umd.js +3 -3
- package/maptilersdk.umd.js.map +1 -1
- package/openlayers-controller.js +5 -4
- package/openlayers-controller.js.map +1 -1
- package/openlayers-controller.umd.js +1 -1
- package/openlayers-controller.umd.js.map +1 -1
- package/openlayers.d.ts +32 -1
- package/openlayers.js +2009 -1833
- package/openlayers.js.map +1 -1
- package/openlayers.umd.js +3 -3
- package/openlayers.umd.js.map +1 -1
- package/package.json +23 -23
- package/react.d.ts +27 -1
- package/react.js +1284 -1128
- 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 +59 -12
- package/svelte/FeatureItem.svelte.d.ts +2 -2
- package/svelte/GeocodingControl.svelte +140 -71
- package/svelte/GeocodingControl.svelte.d.ts +10 -3
- package/svelte/MapLibreBasedGeocodingControl.d.ts +1037 -626
- package/svelte/MapLibreBasedGeocodingControl.js +36 -6
- package/svelte/leaflet-controller.js +3 -3
- package/svelte/leaflet.d.ts +32 -1
- package/svelte/leaflet.js +35 -2
- package/svelte/maplibregl-controller.js +3 -3
- package/svelte/maplibregl.d.ts +527 -626
- package/svelte/maptilersdk.d.ts +527 -626
- package/svelte/openlayers-controller.js +4 -4
- package/svelte/openlayers.d.ts +32 -1
- package/svelte/openlayers.js +36 -3
- package/svelte/react.d.ts +27 -1
- package/svelte/react.js +16 -4
- package/svelte/types.d.ts +23 -1
- package/svelte/vanilla.d.ts +32 -1
- package/svelte/vanilla.js +35 -2
- package/types.d.ts +23 -1
- package/vanilla.d.ts +32 -1
- package/vanilla.js +1153 -978
- package/vanilla.js.map +1 -1
- package/vanilla.umd.js +1 -1
- package/vanilla.umd.js.map +1 -1
- package/icons/aerodrome.12.svg +0 -1
- package/icons/bus_stop.12.svg +0 -1
- package/icons/elevator.12.svg +0 -1
- /package/icons/{helipad.16.svg → helipad.svg} +0 -0
- /package/icons/{traffic_light.13.svg → traffic_light.svg} +0 -0
package/maplibregl-controller.js
CHANGED
|
@@ -1907,18 +1907,18 @@ function on(i, t, e = !0, n = !0, r = {}, o = {}, f = Gt) {
|
|
|
1907
1907
|
for (const v of c)
|
|
1908
1908
|
v.remove();
|
|
1909
1909
|
if (c.length = 0, a(void 0), !!t) {
|
|
1910
|
-
if (y) {
|
|
1910
|
+
t: if (y) {
|
|
1911
1911
|
let v = !1;
|
|
1912
1912
|
if (y.geometry.type === "GeometryCollection") {
|
|
1913
1913
|
const E = y.geometry.geometries.filter(
|
|
1914
1914
|
(m) => m.type === "Polygon" || m.type === "MultiPolygon"
|
|
1915
1915
|
);
|
|
1916
|
-
|
|
1916
|
+
e: if (E.length > 0) {
|
|
1917
1917
|
const m = Dt(
|
|
1918
1918
|
V(E.map((b) => X(b)))
|
|
1919
1919
|
);
|
|
1920
1920
|
if (!m)
|
|
1921
|
-
break
|
|
1921
|
+
break e;
|
|
1922
1922
|
zt(
|
|
1923
1923
|
{
|
|
1924
1924
|
...y,
|
|
@@ -1941,11 +1941,11 @@ function on(i, t, e = !0, n = !0, r = {}, o = {}, f = Gt) {
|
|
|
1941
1941
|
zt(y, a);
|
|
1942
1942
|
else if (y.geometry.type === "LineString" || y.geometry.type === "MultiLineString") {
|
|
1943
1943
|
a(y);
|
|
1944
|
-
|
|
1944
|
+
break t;
|
|
1945
1945
|
}
|
|
1946
1946
|
}
|
|
1947
1947
|
if (!w && y.geometry.type !== "Point")
|
|
1948
|
-
|
|
1948
|
+
break t;
|
|
1949
1949
|
if (e instanceof Function) {
|
|
1950
1950
|
const E = e(i, y);
|
|
1951
1951
|
E && c.push(E);
|