@heycar/heycars-map 2.11.0 → 2.11.1
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.
|
@@ -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";
|
|
4
4
|
const isEnableLog = (name) => {
|
|
5
5
|
const searchParam = new URLSearchParams(location.search);
|
|
6
6
|
return searchParam.has(`log-${name}`);
|
|
@@ -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";
|
|
4
4
|
const isEnableLog = (name) => {
|
|
5
5
|
const searchParam = new URLSearchParams(location.search);
|
|
6
6
|
return searchParam.has(`log-${name}`);
|