@omnic/widget-locations 1.0.22 → 1.0.23

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.
@@ -6,4 +6,4 @@ export declare const MARKER_SIZE: Size;
6
6
  export declare const SCALED_MARKER_SIZE: Size;
7
7
  export declare const MAP_INITIAL_ZOOM = 10;
8
8
  export declare const MAP_SELECTED_POINT_ZOOM = 20;
9
- export declare const MAP_SELECTED_PLACE_ZOOM = 20;
9
+ export declare const MAP_SELECTED_PLACE_ZOOM = 10;
@@ -1,10 +1,12 @@
1
1
  import { MapMode } from '..';
2
2
  interface State {
3
3
  mode: MapMode;
4
+ zoom: number;
4
5
  bounds: Nullable<Bounds>;
5
6
  }
6
7
  interface Action {
7
8
  setMode(mode: MapMode): void;
9
+ setZoom(zoom: number): void;
8
10
  setBounds(bounds: Nullable<Bounds>): void;
9
11
  }
10
12
  export declare const useMapStore: import("zustand").UseBoundStore<import("zustand").StoreApi<State & Action>>;