@tactics/lokaal-loket 0.0.178 → 0.0.180

Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.cts CHANGED
@@ -1174,9 +1174,7 @@ interface ILocationBasedMap {
1174
1174
  showLoader: boolean;
1175
1175
  loader?: React$1.ReactNode;
1176
1176
  origin: IOrigin;
1177
- onRadiusChange?: (r: number) => void;
1178
- onZoomChange?: (zoom: number) => void;
1179
- onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number) => void;
1177
+ onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number, zoomLevel: number) => void;
1180
1178
  }
1181
1179
  interface IDirectionBasedMapBase {
1182
1180
  routes: IRoutes;
@@ -1205,7 +1203,7 @@ interface TravelModeLabels {
1205
1203
 
1206
1204
  declare const Map: {
1207
1205
  (props: IMap): react_jsx_runtime.JSX.Element;
1208
- Location: ({ points, showLoader, loader, origin, onRadiusChange, onZoomChange, onAreaChange, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1206
+ Location: ({ points, showLoader, loader, origin, onAreaChange, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1209
1207
  Direction: ({ routes, activeRoute, origin, destination, travelModeLabels, points, showLoader, loader, onTravelModeChange, onRouteChange, onZoomChange, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1210
1208
  Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
1211
1209
  Loading: ({ loader }: {
package/build/index.d.ts CHANGED
@@ -1174,9 +1174,7 @@ interface ILocationBasedMap {
1174
1174
  showLoader: boolean;
1175
1175
  loader?: React$1.ReactNode;
1176
1176
  origin: IOrigin;
1177
- onRadiusChange?: (r: number) => void;
1178
- onZoomChange?: (zoom: number) => void;
1179
- onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number) => void;
1177
+ onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number, zoomLevel: number) => void;
1180
1178
  }
1181
1179
  interface IDirectionBasedMapBase {
1182
1180
  routes: IRoutes;
@@ -1205,7 +1203,7 @@ interface TravelModeLabels {
1205
1203
 
1206
1204
  declare const Map: {
1207
1205
  (props: IMap): react_jsx_runtime.JSX.Element;
1208
- Location: ({ points, showLoader, loader, origin, onRadiusChange, onZoomChange, onAreaChange, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1206
+ Location: ({ points, showLoader, loader, origin, onAreaChange, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
1209
1207
  Direction: ({ routes, activeRoute, origin, destination, travelModeLabels, points, showLoader, loader, onTravelModeChange, onRouteChange, onZoomChange, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
1210
1208
  Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
1211
1209
  Loading: ({ loader }: {