@heycar/heycars-map 0.9.27-google2 → 0.9.27-google3
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/utils/log.js +1 -1
- package/dist/utils/transform.js +1 -1
- package/package.json +1 -1
package/dist/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 = "0.9.27-
|
|
3
|
+
const pkgVersion = "0.9.27-google3";
|
|
4
4
|
const isEnableLog = (name) => {
|
|
5
5
|
const searchParam = new URLSearchParams(location.search);
|
|
6
6
|
return searchParam.has(`log-${name}`);
|
package/dist/utils/transform.js
CHANGED
|
@@ -107,7 +107,7 @@ function amapPlaceName2DisplayNameOutChina(name, options) {
|
|
|
107
107
|
if (street || streetNumber)
|
|
108
108
|
return `${street} ${streetNumber}`;
|
|
109
109
|
const idxs = [];
|
|
110
|
-
for (const token of [
|
|
110
|
+
for (const token of [adcode, province, city, district, township]) {
|
|
111
111
|
if (!token)
|
|
112
112
|
continue;
|
|
113
113
|
if (idxs.length === 2)
|