@heycar/heycars-map 2.12.0-color7 → 2.12.0-color8

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.
@@ -13,7 +13,7 @@ const useADrivingRoute = (props) => {
13
13
  steps: [],
14
14
  trafficJams: void 0
15
15
  });
16
- const amapDriving = new AMap.Driving({});
16
+ const amapDriving = new AMap.Driving({ ferry: 1 });
17
17
  const apiMapDrivingRoute = (from, to) => {
18
18
  return googleRoutesProxyUrl && inTaiwan(from) ? googleServiceApiDrivingRoute(from, to, googleRoutesProxyUrl) : amapJsApiDrivingRoute(from, to, amapDriving);
19
19
  };
@@ -1,6 +1,6 @@
1
1
  const availableLogKeys = /* @__PURE__ */ new Set();
2
2
  const pkgName = "@heycar/heycars-map";
3
- const pkgVersion = "2.12.0-color7";
3
+ const pkgVersion = "2.12.0-color8";
4
4
  const isEnableLog = (name) => {
5
5
  const searchParam = new URLSearchParams(location.search);
6
6
  return searchParam.has(`log-${name}`);
@@ -13,7 +13,7 @@ const useADrivingRoute = (props) => {
13
13
  steps: [],
14
14
  trafficJams: void 0
15
15
  });
16
- const amapDriving = new AMap.Driving({});
16
+ const amapDriving = new AMap.Driving({ ferry: 1 });
17
17
  const apiMapDrivingRoute = (from, to) => {
18
18
  return googleRoutesProxyUrl && inTaiwan(from) ? googleServiceApiDrivingRoute(from, to, googleRoutesProxyUrl) : amapJsApiDrivingRoute(from, to, amapDriving);
19
19
  };
@@ -1,6 +1,6 @@
1
1
  const availableLogKeys = /* @__PURE__ */ new Set();
2
2
  const pkgName = "@heycar/heycars-map";
3
- const pkgVersion = "2.12.0-color7";
3
+ const pkgVersion = "2.12.0-color8";
4
4
  const isEnableLog = (name) => {
5
5
  const searchParam = new URLSearchParams(location.search);
6
6
  return searchParam.has(`log-${name}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heycar/heycars-map",
3
- "version": "2.12.0-color7",
3
+ "version": "2.12.0-color8",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "checkVersion": "./bin/checkVersion.js",