@omnic/widget-locations 1.0.59 → 1.0.60

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.
@@ -4,10 +4,8 @@ export declare const BALLOON_SUBMIT_ID: string;
4
4
  export declare const BALLOON_DETAILS_ID: string;
5
5
  export declare const MARKER_SIZE: Size;
6
6
  export declare const SCALED_MARKER_SIZE: Size;
7
- export declare const MAP_INITIAL_ZOOM = 10;
8
- export declare const MAP_FALLBACK_ZOOM = 6;
9
- export declare const MAP_SELECTED_POINT_ZOOM = 20;
10
- export declare const MAP_SELECTED_PLACE_ZOOM = 10;
7
+ export declare const FALLBACK_ZOOM = 6;
8
+ export declare const SELECTED_PLACE_ZOOM = 10;
11
9
  export declare const FALLBACK_CENTER: Coordinates;
12
10
  export declare const FALLBACK_LOCALE: Locale;
13
11
  export declare const GOOGLE_MAP_LIBRARIES: LoadScriptProps["libraries"];
@@ -3,7 +3,7 @@ interface State {
3
3
  place: Nullable<google.maps.places.PlaceResult>;
4
4
  }
5
5
  interface Action {
6
- setPlace(place: Nullable<google.maps.places.PlaceResult>): void;
6
+ setPlace(place: Nullable<google.maps.places.PlaceResult>, zoom?: number): void;
7
7
  }
8
8
  export declare const useSelectedPlaceStore: import("zustand").UseBoundStore<import("zustand").StoreApi<State & Action>>;
9
9
  export {};
@@ -0,0 +1 @@
1
+ export declare const getCurrentPosition: (success: PositionCallback, error?: PositionErrorCallback) => void;
@@ -5,3 +5,4 @@ export * from "./createPointsIterator";
5
5
  export * from "./setWidgetCSSProperty";
6
6
  export * from "./stopImmediatePropagation";
7
7
  export * from "./getAddressFromLatLng";
8
+ export * from "./getCurrentPosition";