@heycar/heycars-map 2.11.0 → 2.11.1-APlus

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/v2/App.js CHANGED
@@ -2,10 +2,10 @@ import { h } from "vue";
2
2
  import { defineComponent, ref } from "vue-demi";
3
3
  import { DemoBusinessQuoting } from "./Demo/DemoBusinessQuoting.js";
4
4
  import { MapProvider } from "./components/MapProvider/MapProvider.js";
5
- const gmapApiKey = "AIzaSyCCOe8MAeS3EYvSraKsBX6ztVyLxj69z94";
6
- const gmapId = "d0af0c05331af64a";
7
- const amapApiKey = "fcb7b14c930354a248e21f4031dfa179";
8
- const amapApiSecret = "11ad0e3d585b80d18b1ada5b0d947c4a";
5
+ const gmapApiKey = {}.VITE_GMAP_API_KEY;
6
+ const gmapId = {}.VITE_GMAP_MAP_ID;
7
+ const amapApiKey = {}.VITE_AMAP_API_KEY;
8
+ const amapApiSecret = {}.VITE_AMAP_API_SECRET;
9
9
  const App = defineComponent({
10
10
  setup() {
11
11
  const supplierRef = ref("gmap");
@@ -1,8 +1,8 @@
1
1
  export declare const AMAP_DEFAULT_MARKER_ICON_URL = "https://webapi.amap.com/theme/v1.3/markers/b/mark_bs.png";
2
- export declare const ICON_FULL_SCREEN_URL = "https://overseas-oss.heycars.cn/heycar-map/png/fullscreen.png";
3
- export declare const ICON_START_POINT_EN_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/start-point-en.svg";
4
- export declare const ICON_END_POINT_EN_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/end-point-en.svg";
5
- export declare const ICON_END_POINT_ZH_TW_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/end-point-zh-TW.svg";
6
- export declare const ICON_TAXI_CAR_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/taxi-car.svg";
7
- export declare const ICON_DOT_LOADING_URL = "https://overseas-oss.heycars.cn/heycar-map/gif/dot-loading.gif";
8
- export declare const ICON_LOAD_FAILED_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/load-failed.svg";
2
+ export declare const ICON_FULL_SCREEN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/png/fullscreen.png";
3
+ export declare const ICON_START_POINT_EN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/start-point-en.svg";
4
+ export declare const ICON_END_POINT_EN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/end-point-en.svg";
5
+ export declare const ICON_END_POINT_ZH_TW_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/end-point-zh-TW.svg";
6
+ export declare const ICON_TAXI_CAR_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/taxi-car.svg";
7
+ export declare const ICON_DOT_LOADING_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/gif/dot-loading.gif";
8
+ export declare const ICON_LOAD_FAILED_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/load-failed.svg";
@@ -1,11 +1,11 @@
1
1
  const AMAP_DEFAULT_MARKER_ICON_URL = "https://webapi.amap.com/theme/v1.3/markers/b/mark_bs.png";
2
- const ICON_FULL_SCREEN_URL = "https://overseas-oss.heycars.cn/heycar-map/png/fullscreen.png";
3
- const ICON_START_POINT_EN_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/start-point-en.svg";
4
- const ICON_END_POINT_EN_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/end-point-en.svg";
5
- const ICON_END_POINT_ZH_TW_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/end-point-zh-TW.svg";
6
- const ICON_TAXI_CAR_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/taxi-car.svg";
7
- const ICON_DOT_LOADING_URL = "https://overseas-oss.heycars.cn/heycar-map/gif/dot-loading.gif";
8
- const ICON_LOAD_FAILED_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/load-failed.svg";
2
+ const ICON_FULL_SCREEN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/png/fullscreen.png";
3
+ const ICON_START_POINT_EN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/start-point-en.svg";
4
+ const ICON_END_POINT_EN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/end-point-en.svg";
5
+ const ICON_END_POINT_ZH_TW_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/end-point-zh-TW.svg";
6
+ const ICON_TAXI_CAR_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/taxi-car.svg";
7
+ const ICON_DOT_LOADING_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/gif/dot-loading.gif";
8
+ const ICON_LOAD_FAILED_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/load-failed.svg";
9
9
  export {
10
10
  AMAP_DEFAULT_MARKER_ICON_URL,
11
11
  ICON_DOT_LOADING_URL,
@@ -103,6 +103,7 @@ async function googleServiceApiWalkingDirection(from, to, proxyUrl) {
103
103
  async function googleServiceApiWalkingRoute(from, to, proxyUrl) {
104
104
  const { routes } = await apiGoogleRoutes({
105
105
  proxyUrl,
106
+ travelMode: "WALK",
106
107
  origin: {
107
108
  location: {
108
109
  latLng: {
@@ -1,6 +1,6 @@
1
1
  const availableLogKeys = /* @__PURE__ */ new Set();
2
2
  const pkgName = "@heycar/heycars-map";
3
- const pkgVersion = "2.11.0";
3
+ const pkgVersion = "2.11.1-APlus";
4
4
  const isEnableLog = (name) => {
5
5
  const searchParam = new URLSearchParams(location.search);
6
6
  return searchParam.has(`log-${name}`);
package/dist/v3/App.js CHANGED
@@ -2,10 +2,10 @@ import { createVNode } from "vue";
2
2
  import { defineComponent, ref } from "vue-demi";
3
3
  import { DemoBusinessQuoting } from "./Demo/DemoBusinessQuoting.js";
4
4
  import { MapProvider } from "./components/MapProvider/MapProvider.js";
5
- const gmapApiKey = "AIzaSyCCOe8MAeS3EYvSraKsBX6ztVyLxj69z94";
6
- const gmapId = "d0af0c05331af64a";
7
- const amapApiKey = "fcb7b14c930354a248e21f4031dfa179";
8
- const amapApiSecret = "11ad0e3d585b80d18b1ada5b0d947c4a";
5
+ const gmapApiKey = {}.VITE_GMAP_API_KEY;
6
+ const gmapId = {}.VITE_GMAP_MAP_ID;
7
+ const amapApiKey = {}.VITE_AMAP_API_KEY;
8
+ const amapApiSecret = {}.VITE_AMAP_API_SECRET;
9
9
  const App = /* @__PURE__ */ defineComponent({
10
10
  setup() {
11
11
  const supplierRef = ref("gmap");
@@ -1,8 +1,8 @@
1
1
  export declare const AMAP_DEFAULT_MARKER_ICON_URL = "https://webapi.amap.com/theme/v1.3/markers/b/mark_bs.png";
2
- export declare const ICON_FULL_SCREEN_URL = "https://overseas-oss.heycars.cn/heycar-map/png/fullscreen.png";
3
- export declare const ICON_START_POINT_EN_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/start-point-en.svg";
4
- export declare const ICON_END_POINT_EN_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/end-point-en.svg";
5
- export declare const ICON_END_POINT_ZH_TW_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/end-point-zh-TW.svg";
6
- export declare const ICON_TAXI_CAR_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/taxi-car.svg";
7
- export declare const ICON_DOT_LOADING_URL = "https://overseas-oss.heycars.cn/heycar-map/gif/dot-loading.gif";
8
- export declare const ICON_LOAD_FAILED_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/load-failed.svg";
2
+ export declare const ICON_FULL_SCREEN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/png/fullscreen.png";
3
+ export declare const ICON_START_POINT_EN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/start-point-en.svg";
4
+ export declare const ICON_END_POINT_EN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/end-point-en.svg";
5
+ export declare const ICON_END_POINT_ZH_TW_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/end-point-zh-TW.svg";
6
+ export declare const ICON_TAXI_CAR_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/taxi-car.svg";
7
+ export declare const ICON_DOT_LOADING_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/gif/dot-loading.gif";
8
+ export declare const ICON_LOAD_FAILED_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/load-failed.svg";
@@ -1,11 +1,11 @@
1
1
  const AMAP_DEFAULT_MARKER_ICON_URL = "https://webapi.amap.com/theme/v1.3/markers/b/mark_bs.png";
2
- const ICON_FULL_SCREEN_URL = "https://overseas-oss.heycars.cn/heycar-map/png/fullscreen.png";
3
- const ICON_START_POINT_EN_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/start-point-en.svg";
4
- const ICON_END_POINT_EN_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/end-point-en.svg";
5
- const ICON_END_POINT_ZH_TW_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/end-point-zh-TW.svg";
6
- const ICON_TAXI_CAR_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/taxi-car.svg";
7
- const ICON_DOT_LOADING_URL = "https://overseas-oss.heycars.cn/heycar-map/gif/dot-loading.gif";
8
- const ICON_LOAD_FAILED_URL = "https://overseas-oss.heycars.cn/heycar-map/svg/load-failed.svg";
2
+ const ICON_FULL_SCREEN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/png/fullscreen.png";
3
+ const ICON_START_POINT_EN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/start-point-en.svg";
4
+ const ICON_END_POINT_EN_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/end-point-en.svg";
5
+ const ICON_END_POINT_ZH_TW_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/0.12/end-point-zh-TW.svg";
6
+ const ICON_TAXI_CAR_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/taxi-car.svg";
7
+ const ICON_DOT_LOADING_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/gif/dot-loading.gif";
8
+ const ICON_LOAD_FAILED_URL = "https://hkong-oss.oss-cn-hongkong.aliyuncs.com/heycar-map/svg/load-failed.svg";
9
9
  export {
10
10
  AMAP_DEFAULT_MARKER_ICON_URL,
11
11
  ICON_DOT_LOADING_URL,
@@ -103,6 +103,7 @@ async function googleServiceApiWalkingDirection(from, to, proxyUrl) {
103
103
  async function googleServiceApiWalkingRoute(from, to, proxyUrl) {
104
104
  const { routes } = await apiGoogleRoutes({
105
105
  proxyUrl,
106
+ travelMode: "WALK",
106
107
  origin: {
107
108
  location: {
108
109
  latLng: {
@@ -1,6 +1,6 @@
1
1
  const availableLogKeys = /* @__PURE__ */ new Set();
2
2
  const pkgName = "@heycar/heycars-map";
3
- const pkgVersion = "2.11.0";
3
+ const pkgVersion = "2.11.1-APlus";
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.11.0",
3
+ "version": "2.11.1-APlus",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "checkVersion": "./bin/checkVersion.js",