@conboai/storybook.components 0.3.2 → 0.3.4
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.
|
@@ -78227,19 +78227,21 @@ const Dne = ({
|
|
|
78227
78227
|
const C = T.lat * Math.PI / 180, w = T.lng * Math.PI / 180, R = E.lat * Math.PI / 180, $ = E.lng * Math.PI / 180 - w, D = Math.sin($) * Math.cos(R), O = Math.cos(C) * Math.sin(R) - Math.sin(C) * Math.cos(R) * Math.cos($);
|
|
78228
78228
|
return (Math.atan2(D, O) * 180 / Math.PI + 360) % 360;
|
|
78229
78229
|
}, p = () => {
|
|
78230
|
-
const T = o.length - 1, E =
|
|
78230
|
+
const T = o.length - 1, E = Math.min(5, T);
|
|
78231
|
+
let C = 0;
|
|
78232
|
+
for (let R = T; R > T - E; R--)
|
|
78233
|
+
C += y(o[R - 1], o[R]);
|
|
78234
|
+
const w = C / E;
|
|
78231
78235
|
return {
|
|
78232
78236
|
position: o[T],
|
|
78233
78237
|
icon: {
|
|
78234
78238
|
path: google.maps.SymbolPath.FORWARD_CLOSED_ARROW,
|
|
78235
|
-
scale: m,
|
|
78239
|
+
scale: m - 2,
|
|
78236
78240
|
strokeColor: "#2196F3",
|
|
78237
|
-
rotation:
|
|
78241
|
+
rotation: w
|
|
78238
78242
|
}
|
|
78239
78243
|
};
|
|
78240
|
-
}, f = c - 13, m = f < 0 ? 0 : f
|
|
78241
|
-
google.maps.SymbolPath.FORWARD_CLOSED_ARROW;
|
|
78242
|
-
const x = {
|
|
78244
|
+
}, f = c - 13, m = f < 0 ? 0 : f, x = {
|
|
78243
78245
|
...pm
|
|
78244
78246
|
}, b = (T) => ({
|
|
78245
78247
|
path: google.maps.SymbolPath.CIRCLE,
|
|
@@ -78413,7 +78415,7 @@ const Dne = ({
|
|
|
78413
78415
|
mode: { type: "view", shape: "polyline" },
|
|
78414
78416
|
data: [o],
|
|
78415
78417
|
showNumbers: !1,
|
|
78416
|
-
disableControls: !
|
|
78418
|
+
disableControls: !0
|
|
78417
78419
|
}
|
|
78418
78420
|
) : /* @__PURE__ */ ee.jsx(
|
|
78419
78421
|
nte,
|