@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 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-google2";
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}`);
@@ -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 [province, adcode, city, district, township]) {
110
+ for (const token of [adcode, province, city, district, township]) {
111
111
  if (!token)
112
112
  continue;
113
113
  if (idxs.length === 2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heycar/heycars-map",
3
- "version": "0.9.27-google2",
3
+ "version": "0.9.27-google3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "checkVersion": "./bin/checkVersion.js"