@conboai/storybook.components 0.3.18 → 0.3.19
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.
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CoordinatePoint } from '../../types';
|
|
2
|
+
|
|
3
|
+
export declare const getBearing: (start: CoordinatePoint, end: CoordinatePoint) => number;
|
|
4
|
+
export declare const calculateArrowPosition: (path: CoordinatePoint[], scale: number) => {
|
|
5
|
+
position: CoordinatePoint;
|
|
6
|
+
icon: {
|
|
7
|
+
path: google.maps.SymbolPath;
|
|
8
|
+
scale: number;
|
|
9
|
+
strokeColor: string;
|
|
10
|
+
rotation: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const createStartIcon: (scale: number) => {
|
|
14
|
+
path: google.maps.SymbolPath;
|
|
15
|
+
fillColor: string;
|
|
16
|
+
fillOpacity: number;
|
|
17
|
+
strokeWeight: number;
|
|
18
|
+
scale: number;
|
|
19
|
+
};
|