@tactics/lokaal-loket 0.0.278 → 0.0.279
Sign up to get free protection for your applications and to get access to all the features.
- package/build/index.cjs +2 -2
- package/build/index.d.cts +3 -3
- package/build/index.d.ts +3 -3
- package/build/index.js +2 -2
- package/package.json +1 -1
package/build/index.d.cts
CHANGED
@@ -1446,7 +1446,7 @@ type IDestination = Feature$1<Point, ITerminal>;
|
|
1446
1446
|
type IPoint = Feature$1<Point, IPin>;
|
1447
1447
|
type IPoints = IPoint[];
|
1448
1448
|
type IRoute = Feature$1<LineString, ILine>;
|
1449
|
-
type IRoutes = Record<
|
1449
|
+
type IRoutes = Record<string, IRoute>;
|
1450
1450
|
type IRouteStep = Feature$1<LineString, IStep>;
|
1451
1451
|
interface IFailureMap {
|
1452
1452
|
message: string;
|
@@ -1474,7 +1474,7 @@ interface ILocationBasedMap {
|
|
1474
1474
|
interface IDirectionBasedMapBase {
|
1475
1475
|
routes?: IRoutes;
|
1476
1476
|
viewOnly?: boolean;
|
1477
|
-
activeRoute:
|
1477
|
+
activeRoute: string;
|
1478
1478
|
points?: IPoints;
|
1479
1479
|
showLoader: boolean;
|
1480
1480
|
loader?: React$1.ReactNode;
|
@@ -1484,7 +1484,7 @@ interface IDirectionBasedMapBase {
|
|
1484
1484
|
activeTravelMode: google.maps.TravelMode;
|
1485
1485
|
legend?: React$1.ReactElement<IMapLegendItem>[];
|
1486
1486
|
legendToggle?: React$1.ReactElement<IMapLegendLabel>;
|
1487
|
-
onRouteChange?: (activeRoute:
|
1487
|
+
onRouteChange?: (activeRoute: string, route: IRoute, travelMode: google.maps.TravelMode, deviation: number) => void;
|
1488
1488
|
onTravelModeChange?: (travelMode: google.maps.TravelMode, deviation: number) => void;
|
1489
1489
|
onAreaChange?: (origin: google.maps.LatLng, destination: google.maps.LatLng, center: google.maps.LatLng, bounds: google.maps.LatLngBounds, zoomLevel: number) => void;
|
1490
1490
|
}
|
package/build/index.d.ts
CHANGED
@@ -1446,7 +1446,7 @@ type IDestination = Feature$1<Point, ITerminal>;
|
|
1446
1446
|
type IPoint = Feature$1<Point, IPin>;
|
1447
1447
|
type IPoints = IPoint[];
|
1448
1448
|
type IRoute = Feature$1<LineString, ILine>;
|
1449
|
-
type IRoutes = Record<
|
1449
|
+
type IRoutes = Record<string, IRoute>;
|
1450
1450
|
type IRouteStep = Feature$1<LineString, IStep>;
|
1451
1451
|
interface IFailureMap {
|
1452
1452
|
message: string;
|
@@ -1474,7 +1474,7 @@ interface ILocationBasedMap {
|
|
1474
1474
|
interface IDirectionBasedMapBase {
|
1475
1475
|
routes?: IRoutes;
|
1476
1476
|
viewOnly?: boolean;
|
1477
|
-
activeRoute:
|
1477
|
+
activeRoute: string;
|
1478
1478
|
points?: IPoints;
|
1479
1479
|
showLoader: boolean;
|
1480
1480
|
loader?: React$1.ReactNode;
|
@@ -1484,7 +1484,7 @@ interface IDirectionBasedMapBase {
|
|
1484
1484
|
activeTravelMode: google.maps.TravelMode;
|
1485
1485
|
legend?: React$1.ReactElement<IMapLegendItem>[];
|
1486
1486
|
legendToggle?: React$1.ReactElement<IMapLegendLabel>;
|
1487
|
-
onRouteChange?: (activeRoute:
|
1487
|
+
onRouteChange?: (activeRoute: string, route: IRoute, travelMode: google.maps.TravelMode, deviation: number) => void;
|
1488
1488
|
onTravelModeChange?: (travelMode: google.maps.TravelMode, deviation: number) => void;
|
1489
1489
|
onAreaChange?: (origin: google.maps.LatLng, destination: google.maps.LatLng, center: google.maps.LatLng, bounds: google.maps.LatLngBounds, zoomLevel: number) => void;
|
1490
1490
|
}
|