@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.
Files changed (51) hide show
  1. package/leaflet-controller.d.ts +1 -1
  2. package/leaflet-controller.js +1 -1
  3. package/leaflet-controller.js.map +1 -1
  4. package/leaflet-controller.umd.js +1 -1
  5. package/leaflet-controller.umd.js.map +1 -1
  6. package/leaflet.js +817 -802
  7. package/leaflet.js.map +1 -1
  8. package/leaflet.umd.js +3 -3
  9. package/leaflet.umd.js.map +1 -1
  10. package/maplibregl-controller.d.ts +1 -1
  11. package/maplibregl-controller.js +16 -16
  12. package/maplibregl-controller.js.map +1 -1
  13. package/maplibregl-controller.umd.js +1 -1
  14. package/maplibregl-controller.umd.js.map +1 -1
  15. package/maplibregl.js +1220 -1205
  16. package/maplibregl.js.map +1 -1
  17. package/maplibregl.umd.js +3 -3
  18. package/maplibregl.umd.js.map +1 -1
  19. package/maptilersdk.js +1196 -1181
  20. package/maptilersdk.js.map +1 -1
  21. package/maptilersdk.umd.js +3 -3
  22. package/maptilersdk.umd.js.map +1 -1
  23. package/openlayers-controller.d.ts +1 -1
  24. package/openlayers-controller.js +5 -5
  25. package/openlayers-controller.js.map +1 -1
  26. package/openlayers-controller.umd.js +2 -2
  27. package/openlayers-controller.umd.js.map +1 -1
  28. package/openlayers.js +1405 -1391
  29. package/openlayers.js.map +1 -1
  30. package/openlayers.umd.js +3 -3
  31. package/openlayers.umd.js.map +1 -1
  32. package/package.json +4 -4
  33. package/react.js +860 -845
  34. package/react.js.map +1 -1
  35. package/react.umd.js +1 -1
  36. package/react.umd.js.map +1 -1
  37. package/svelte/GeocodingControl.svelte +50 -25
  38. package/svelte/GeocodingControl.svelte.d.ts +1 -0
  39. package/svelte/leaflet-controller.d.ts +1 -1
  40. package/svelte/leaflet-controller.js +1 -1
  41. package/svelte/maplibregl-controller.d.ts +1 -1
  42. package/svelte/maplibregl-controller.js +1 -1
  43. package/svelte/openlayers-controller.d.ts +1 -1
  44. package/svelte/openlayers-controller.js +1 -1
  45. package/svelte/openlayers.js +2 -3
  46. package/svelte/types.d.ts +2 -1
  47. package/types.d.ts +2 -1
  48. package/vanilla.js +606 -591
  49. package/vanilla.js.map +1 -1
  50. package/vanilla.umd.js +1 -1
  51. package/vanilla.umd.js.map +1 -1
@@ -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
- setMarkers(markedFeatures: Feature[] | undefined, picked: Feature | undefined, showPolygonMarker: boolean): void;
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
  };
@@ -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
- setMarkers(h, g, d) {
1938
+ setFeatures(h, g, d) {
1939
1939
  function w(y) {
1940
1940
  p.clearLayers(), y && p.addData(y);
1941
1941
  }