@maptiler/geocoding-control 2.0.0-rc.3 → 2.0.0-rc.5

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 +18 -1
  2. package/leaflet-controller.d.ts +2 -1
  3. package/leaflet-controller.js +222 -219
  4. package/leaflet-controller.js.map +1 -1
  5. package/leaflet-controller.umd.js +2 -2
  6. package/leaflet-controller.umd.js.map +1 -1
  7. package/leaflet.js +1016 -1025
  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 -1
  12. package/maplibregl-controller.js +213 -210
  13. package/maplibregl-controller.js.map +1 -1
  14. package/maplibregl-controller.umd.js +3 -3
  15. package/maplibregl-controller.umd.js.map +1 -1
  16. package/maplibregl.d.ts +17 -0
  17. package/maplibregl.js +1456 -1463
  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 +17 -0
  22. package/maptilersdk.js +1458 -1465
  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 -1
  27. package/openlayers-controller.js +298 -295
  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 +1267 -1276
  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 +1 -1
  36. package/react.js +845 -860
  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 +26 -51
  41. package/svelte/GeocodingControl.svelte.d.ts +1 -2
  42. package/svelte/MapLibreBasedGeocodingControl.d.ts +18 -1
  43. package/svelte/MapLibreBasedGeocodingControl.js +4 -0
  44. package/svelte/leaflet-controller.d.ts +2 -1
  45. package/svelte/leaflet-controller.js +6 -2
  46. package/svelte/leaflet.js +4 -0
  47. package/svelte/maplibregl-controller.d.ts +2 -1
  48. package/svelte/maplibregl-controller.js +6 -2
  49. package/svelte/maplibregl.d.ts +17 -0
  50. package/svelte/maptilersdk.d.ts +17 -0
  51. package/svelte/openlayers-controller.d.ts +2 -1
  52. package/svelte/openlayers-controller.js +6 -2
  53. package/svelte/openlayers.js +5 -2
  54. package/svelte/types.d.ts +1 -1
  55. package/types.d.ts +1 -1
  56. package/vanilla.js +623 -638
  57. package/vanilla.js.map +1 -1
  58. package/vanilla.umd.js +1 -1
  59. package/vanilla.umd.js.map +1 -1
@@ -3,7 +3,7 @@ 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, showPolyMarker?: boolean): {
6
+ export declare function createOpenLayersMapController(map: Map, flyToOptions?: AnimationOptions, flyToBounds?: FitOptions, fullGeometryStyle?: StyleLike | FlatStyleLike, showPolygonMarker?: boolean): {
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;
@@ -12,4 +12,5 @@ export declare function createOpenLayersMapController(map: Map, flyToOptions?: A
12
12
  setMarkers(markedFeatures: FeatureType[] | undefined, picked: FeatureType | undefined): void;
13
13
  setSelectedMarker(index: number): void;
14
14
  getCenterAndZoom(): [number, x: number, y: number] | undefined;
15
+ setShowPolygonMarker(showPolygonMarker: boolean): void;
15
16
  };