@maptiler/geocoding-control 2.0.0-rc.6 → 2.0.0-rc.8

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 (59) hide show
  1. package/MapLibreBasedGeocodingControl.d.ts +1 -18
  2. package/leaflet-controller.d.ts +2 -3
  3. package/leaflet-controller.js +450 -453
  4. package/leaflet-controller.js.map +1 -1
  5. package/leaflet-controller.umd.js +3 -3
  6. package/leaflet-controller.umd.js.map +1 -1
  7. package/leaflet.js +1386 -1376
  8. package/leaflet.js.map +1 -1
  9. package/leaflet.umd.js +3 -3
  10. package/leaflet.umd.js.map +1 -1
  11. package/maplibregl-controller.d.ts +2 -3
  12. package/maplibregl-controller.js +153 -156
  13. package/maplibregl-controller.js.map +1 -1
  14. package/maplibregl-controller.umd.js +2 -2
  15. package/maplibregl-controller.umd.js.map +1 -1
  16. package/maplibregl.d.ts +0 -17
  17. package/maplibregl.js +1943 -1935
  18. package/maplibregl.js.map +1 -1
  19. package/maplibregl.umd.js +3 -3
  20. package/maplibregl.umd.js.map +1 -1
  21. package/maptilersdk.d.ts +0 -17
  22. package/maptilersdk.js +1945 -1937
  23. package/maptilersdk.js.map +1 -1
  24. package/maptilersdk.umd.js +3 -3
  25. package/maptilersdk.umd.js.map +1 -1
  26. package/openlayers-controller.d.ts +2 -3
  27. package/openlayers-controller.js +369 -372
  28. package/openlayers-controller.js.map +1 -1
  29. package/openlayers-controller.umd.js +3 -3
  30. package/openlayers-controller.umd.js.map +1 -1
  31. package/openlayers.js +1666 -1656
  32. package/openlayers.js.map +1 -1
  33. package/openlayers.umd.js +3 -3
  34. package/openlayers.umd.js.map +1 -1
  35. package/package.json +4 -4
  36. package/react.js +995 -978
  37. package/react.js.map +1 -1
  38. package/react.umd.js +1 -1
  39. package/react.umd.js.map +1 -1
  40. package/svelte/GeocodingControl.svelte +52 -25
  41. package/svelte/GeocodingControl.svelte.d.ts +1 -0
  42. package/svelte/MapLibreBasedGeocodingControl.d.ts +1 -18
  43. package/svelte/MapLibreBasedGeocodingControl.js +1 -6
  44. package/svelte/leaflet-controller.d.ts +2 -3
  45. package/svelte/leaflet-controller.js +3 -7
  46. package/svelte/leaflet.js +1 -6
  47. package/svelte/maplibregl-controller.d.ts +2 -3
  48. package/svelte/maplibregl-controller.js +3 -7
  49. package/svelte/maplibregl.d.ts +0 -17
  50. package/svelte/maptilersdk.d.ts +0 -17
  51. package/svelte/openlayers-controller.d.ts +2 -3
  52. package/svelte/openlayers-controller.js +3 -7
  53. package/svelte/openlayers.js +3 -7
  54. package/svelte/types.d.ts +2 -2
  55. package/types.d.ts +2 -2
  56. package/vanilla.js +839 -822
  57. package/vanilla.js.map +1 -1
  58. package/vanilla.umd.js +1 -1
  59. package/vanilla.umd.js.map +1 -1
@@ -3,14 +3,13 @@ import type { AnimationOptions, FitOptions } from "ol/View";
3
3
  import { type StyleLike } from "ol/style/Style";
4
4
  import type { FlatStyleLike } from "ol/style/flat";
5
5
  import type { BBox, Feature as FeatureType, MapEvent, Position } from "./types";
6
- export declare function createOpenLayersMapController(map: Map, flyToOptions?: AnimationOptions, flyToBounds?: FitOptions, fullGeometryStyle?: StyleLike | FlatStyleLike, showPolygonMarker?: boolean): {
6
+ export declare function createOpenLayersMapController(map: Map, flyToOptions?: AnimationOptions, flyToBounds?: FitOptions, fullGeometryStyle?: StyleLike | FlatStyleLike): {
7
7
  setEventHandler(handler: undefined | ((e: MapEvent) => void)): void;
8
8
  flyTo(center: Position, zoom: number): void;
9
9
  fitBounds(bbox: BBox, padding: number, maxZoom: number): void;
10
10
  indicateReverse(reverse: boolean): void;
11
11
  setReverseMarker(coordinates?: Position): void;
12
- setMarkers(markedFeatures: FeatureType[] | undefined, picked: FeatureType | undefined): void;
12
+ setFeatures(markedFeatures: FeatureType[] | undefined, picked: FeatureType | undefined, showPolygonMarker: boolean): void;
13
13
  setSelectedMarker(index: number): void;
14
14
  getCenterAndZoom(): [number, x: number, y: number] | undefined;
15
- setShowPolygonMarker(showPolygonMarker: boolean): void;
16
15
  };