@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 +4 -4
- package/dist/v2/api/cdn.d.ts +7 -7
- package/dist/v2/api/cdn.js +7 -7
- package/dist/v2/utils/compatibleWalkingRoute.js +1 -0
- package/dist/v2/utils/log.js +1 -1
- package/dist/v3/App.js +4 -4
- package/dist/v3/api/cdn.d.ts +7 -7
- package/dist/v3/api/cdn.js +7 -7
- package/dist/v3/utils/compatibleWalkingRoute.js +1 -0
- package/dist/v3/utils/log.js +1 -1
- package/package.json +1 -1
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 =
|
|
6
|
-
const gmapId =
|
|
7
|
-
const amapApiKey =
|
|
8
|
-
const amapApiSecret =
|
|
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");
|
package/dist/v2/api/cdn.d.ts
CHANGED
|
@@ -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://
|
|
3
|
-
export declare const ICON_START_POINT_EN_URL = "https://
|
|
4
|
-
export declare const ICON_END_POINT_EN_URL = "https://
|
|
5
|
-
export declare const ICON_END_POINT_ZH_TW_URL = "https://
|
|
6
|
-
export declare const ICON_TAXI_CAR_URL = "https://
|
|
7
|
-
export declare const ICON_DOT_LOADING_URL = "https://
|
|
8
|
-
export declare const ICON_LOAD_FAILED_URL = "https://
|
|
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";
|
package/dist/v2/api/cdn.js
CHANGED
|
@@ -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://
|
|
3
|
-
const ICON_START_POINT_EN_URL = "https://
|
|
4
|
-
const ICON_END_POINT_EN_URL = "https://
|
|
5
|
-
const ICON_END_POINT_ZH_TW_URL = "https://
|
|
6
|
-
const ICON_TAXI_CAR_URL = "https://
|
|
7
|
-
const ICON_DOT_LOADING_URL = "https://
|
|
8
|
-
const ICON_LOAD_FAILED_URL = "https://
|
|
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: {
|
package/dist/v2/utils/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const availableLogKeys = /* @__PURE__ */ new Set();
|
|
2
2
|
const pkgName = "@heycar/heycars-map";
|
|
3
|
-
const pkgVersion = "2.11.
|
|
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 =
|
|
6
|
-
const gmapId =
|
|
7
|
-
const amapApiKey =
|
|
8
|
-
const amapApiSecret =
|
|
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");
|
package/dist/v3/api/cdn.d.ts
CHANGED
|
@@ -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://
|
|
3
|
-
export declare const ICON_START_POINT_EN_URL = "https://
|
|
4
|
-
export declare const ICON_END_POINT_EN_URL = "https://
|
|
5
|
-
export declare const ICON_END_POINT_ZH_TW_URL = "https://
|
|
6
|
-
export declare const ICON_TAXI_CAR_URL = "https://
|
|
7
|
-
export declare const ICON_DOT_LOADING_URL = "https://
|
|
8
|
-
export declare const ICON_LOAD_FAILED_URL = "https://
|
|
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";
|
package/dist/v3/api/cdn.js
CHANGED
|
@@ -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://
|
|
3
|
-
const ICON_START_POINT_EN_URL = "https://
|
|
4
|
-
const ICON_END_POINT_EN_URL = "https://
|
|
5
|
-
const ICON_END_POINT_ZH_TW_URL = "https://
|
|
6
|
-
const ICON_TAXI_CAR_URL = "https://
|
|
7
|
-
const ICON_DOT_LOADING_URL = "https://
|
|
8
|
-
const ICON_LOAD_FAILED_URL = "https://
|
|
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: {
|
package/dist/v3/utils/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const availableLogKeys = /* @__PURE__ */ new Set();
|
|
2
2
|
const pkgName = "@heycar/heycars-map";
|
|
3
|
-
const pkgVersion = "2.11.
|
|
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}`);
|