@tactics/lokaal-loket 0.0.267 → 0.0.269
Sign up to get free protection for your applications and to get access to all the features.
- package/build/index.cjs +630 -630
- package/build/index.d.cts +3 -2
- package/build/index.d.ts +3 -2
- package/build/index.js +542 -542
- package/package.json +1 -1
package/build/index.d.cts
CHANGED
@@ -1451,6 +1451,7 @@ interface IMapLegendItem {
|
|
1451
1451
|
label: string;
|
1452
1452
|
}
|
1453
1453
|
interface ILocationBasedMap {
|
1454
|
+
updateOriginOnAreaChange: boolean;
|
1454
1455
|
viewOnly?: boolean;
|
1455
1456
|
points?: IPoints;
|
1456
1457
|
showLoader: boolean;
|
@@ -1458,7 +1459,7 @@ interface ILocationBasedMap {
|
|
1458
1459
|
origin: IOrigin;
|
1459
1460
|
legend?: React$1.ReactElement<IMapLegendItem>[];
|
1460
1461
|
legendToggle?: React$1.ReactElement<IMapLegendLabel>;
|
1461
|
-
onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number, zoomLevel: number) => void;
|
1462
|
+
onAreaChange?: (origin: google.maps.LatLng, center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number, zoomLevel: number) => void;
|
1462
1463
|
}
|
1463
1464
|
interface IDirectionBasedMapBase {
|
1464
1465
|
routes?: IRoutes;
|
@@ -1487,7 +1488,7 @@ declare const MapLegendItem: ({ pin, label }: IMapLegendItem) => react_jsx_runti
|
|
1487
1488
|
|
1488
1489
|
declare const Map: {
|
1489
1490
|
(props: IMap): react_jsx_runtime.JSX.Element;
|
1490
|
-
Location: ({ viewOnly, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
|
1491
|
+
Location: ({ viewOnly, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, updateOriginOnAreaChange, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
|
1491
1492
|
Direction: ({ routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
|
1492
1493
|
Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
|
1493
1494
|
Loading: ({ loader }: {
|
package/build/index.d.ts
CHANGED
@@ -1451,6 +1451,7 @@ interface IMapLegendItem {
|
|
1451
1451
|
label: string;
|
1452
1452
|
}
|
1453
1453
|
interface ILocationBasedMap {
|
1454
|
+
updateOriginOnAreaChange: boolean;
|
1454
1455
|
viewOnly?: boolean;
|
1455
1456
|
points?: IPoints;
|
1456
1457
|
showLoader: boolean;
|
@@ -1458,7 +1459,7 @@ interface ILocationBasedMap {
|
|
1458
1459
|
origin: IOrigin;
|
1459
1460
|
legend?: React$1.ReactElement<IMapLegendItem>[];
|
1460
1461
|
legendToggle?: React$1.ReactElement<IMapLegendLabel>;
|
1461
|
-
onAreaChange?: (center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number, zoomLevel: number) => void;
|
1462
|
+
onAreaChange?: (origin: google.maps.LatLng, center: google.maps.LatLng, bounds: google.maps.LatLngBounds, radius: number, zoomLevel: number) => void;
|
1462
1463
|
}
|
1463
1464
|
interface IDirectionBasedMapBase {
|
1464
1465
|
routes?: IRoutes;
|
@@ -1487,7 +1488,7 @@ declare const MapLegendItem: ({ pin, label }: IMapLegendItem) => react_jsx_runti
|
|
1487
1488
|
|
1488
1489
|
declare const Map: {
|
1489
1490
|
(props: IMap): react_jsx_runtime.JSX.Element;
|
1490
|
-
Location: ({ viewOnly, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
|
1491
|
+
Location: ({ viewOnly, points, showLoader, loader, origin, onAreaChange, legend, legendToggle, updateOriginOnAreaChange, }: ILocationBasedMap) => react_jsx_runtime.JSX.Element | null;
|
1491
1492
|
Direction: ({ routes, activeRoute, origin, destination, deviation, activeTravelMode, points, showLoader, loader, onRouteChange, onAreaChange, onTravelModeChange, legend, legendToggle, }: IDirectionBasedMapBase) => react_jsx_runtime.JSX.Element | null;
|
1492
1493
|
Failed: ({ message }: IFailureMap) => react_jsx_runtime.JSX.Element | null;
|
1493
1494
|
Loading: ({ loader }: {
|