@heycar/heycars-map 0.8.8 → 0.8.9

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.
package/dist/index.cjs CHANGED
@@ -9,7 +9,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
9
9
  const Vue = require("vue");
10
10
  const style = "";
11
11
  const name = "@heycar/heycars-map";
12
- const version = "0.8.8";
12
+ const version = "0.8.9";
13
13
  const type = "module";
14
14
  const scripts = {
15
15
  dev: "vite -c vite.config.dev.ts",
@@ -7418,7 +7418,7 @@ const SectionDriverStartService = defineSetup(function SectionDriverStartService
7418
7418
  distance,
7419
7419
  duration
7420
7420
  }) => {
7421
- var _a;
7421
+ var _a, _b;
7422
7422
  spaceLog("angleDifference", "carPosition, routeAngle, driverAngle = ", carPosition, angle, carAngle);
7423
7423
  return [Vue.h(DrivingLine, {
7424
7424
  "attrs": {
@@ -7437,7 +7437,7 @@ const SectionDriverStartService = defineSetup(function SectionDriverStartService
7437
7437
  }), Vue.h(KeyedFitView, {
7438
7438
  "attrs": {
7439
7439
  "registerOverlay": registerOverlay,
7440
- "fitViewKey": JSON.stringify(carPosition)
7440
+ "fitViewKey": JSON.stringify((_b = path[0]) != null ? _b : carPosition)
7441
7441
  }
7442
7442
  })];
7443
7443
  }
@@ -7643,7 +7643,7 @@ const SectionInService = defineSetup(function SectionInService2(props) {
7643
7643
  distance,
7644
7644
  duration
7645
7645
  }) => {
7646
- var _a;
7646
+ var _a, _b;
7647
7647
  spaceLog("angleDifference", "carPosition, routeAngle, driverAngle = ", carPosition, angle, carAngle);
7648
7648
  return [Vue.h(DrivingLine, {
7649
7649
  "attrs": {
@@ -7662,7 +7662,7 @@ const SectionInService = defineSetup(function SectionInService2(props) {
7662
7662
  }), Vue.h(KeyedFitView, {
7663
7663
  "attrs": {
7664
7664
  "registerOverlay": registerOverlay,
7665
- "fitViewKey": JSON.stringify(carPosition)
7665
+ "fitViewKey": JSON.stringify((_b = path[0]) != null ? _b : carPosition)
7666
7666
  }
7667
7667
  })];
7668
7668
  }
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ var __publicField = (obj, key, value) => {
7
7
  import Vue, { defineComponent, h, computed, inject, provide, watch, onMounted, onUnmounted, watchPostEffect, shallowRef, ref, watchEffect, reactive, toRefs, toRef } from "vue";
8
8
  const style = "";
9
9
  const name = "@heycar/heycars-map";
10
- const version = "0.8.8";
10
+ const version = "0.8.9";
11
11
  const type = "module";
12
12
  const scripts = {
13
13
  dev: "vite -c vite.config.dev.ts",
@@ -7416,7 +7416,7 @@ const SectionDriverStartService = defineSetup(function SectionDriverStartService
7416
7416
  distance,
7417
7417
  duration
7418
7418
  }) => {
7419
- var _a;
7419
+ var _a, _b;
7420
7420
  spaceLog("angleDifference", "carPosition, routeAngle, driverAngle = ", carPosition, angle, carAngle);
7421
7421
  return [h(DrivingLine, {
7422
7422
  "attrs": {
@@ -7435,7 +7435,7 @@ const SectionDriverStartService = defineSetup(function SectionDriverStartService
7435
7435
  }), h(KeyedFitView, {
7436
7436
  "attrs": {
7437
7437
  "registerOverlay": registerOverlay,
7438
- "fitViewKey": JSON.stringify(carPosition)
7438
+ "fitViewKey": JSON.stringify((_b = path[0]) != null ? _b : carPosition)
7439
7439
  }
7440
7440
  })];
7441
7441
  }
@@ -7641,7 +7641,7 @@ const SectionInService = defineSetup(function SectionInService2(props) {
7641
7641
  distance,
7642
7642
  duration
7643
7643
  }) => {
7644
- var _a;
7644
+ var _a, _b;
7645
7645
  spaceLog("angleDifference", "carPosition, routeAngle, driverAngle = ", carPosition, angle, carAngle);
7646
7646
  return [h(DrivingLine, {
7647
7647
  "attrs": {
@@ -7660,7 +7660,7 @@ const SectionInService = defineSetup(function SectionInService2(props) {
7660
7660
  }), h(KeyedFitView, {
7661
7661
  "attrs": {
7662
7662
  "registerOverlay": registerOverlay,
7663
- "fitViewKey": JSON.stringify(carPosition)
7663
+ "fitViewKey": JSON.stringify((_b = path[0]) != null ? _b : carPosition)
7664
7664
  }
7665
7665
  })];
7666
7666
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heycar/heycars-map",
3
- "version": "0.8.8",
3
+ "version": "0.8.9",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite -c vite.config.dev.ts",