@heycar/heycars-map 0.6.2 → 0.6.3

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/index.cjs CHANGED
@@ -2118,6 +2118,7 @@ const HeycarMap = defineLagecySetup(function HeycarMap2(props, {
2118
2118
  "center": center ? vec2lnglat(center) : void 0,
2119
2119
  "zoom": zoom,
2120
2120
  "disableDefaultUI": true,
2121
+ "clickableIcons": false,
2121
2122
  "disableDoubleClickZoom": touchEnable,
2122
2123
  "gestureHandling": touchEnable ? "auto" : "none",
2123
2124
  "keyboardShortcuts": touchEnable
@@ -2269,11 +2270,11 @@ const GDrivingLine = defineSetup(function GDrivingLine2(props) {
2269
2270
  const pathRef = Vue.computed(() => props.path.map(vec2lnglat));
2270
2271
  return () => {
2271
2272
  const vw = window.innerWidth * 0.01;
2272
- const repeat = 5 * vw;
2273
- const strokeWidth = 1.25 * vw;
2274
- const borderWidth = 0.175 * vw;
2275
- const dirStrokeWeight = 0.375 * vw;
2276
- const outlineWidth = 0.4 * vw;
2273
+ const repeat = 10 * vw;
2274
+ const strokeWidth = 1.25 * vw * 0.65;
2275
+ const borderWidth = 0.175 * vw * 0.65;
2276
+ const dirStrokeWeight = 0.375 * vw * 0.65;
2277
+ const outlineWidth = 0.45 * vw * 0.65;
2277
2278
  const strokeColorInner = props.done ? "#96B2CA" : "#487BF4";
2278
2279
  const strokeColorOuter = props.done ? "#7693AF" : "#4175F1";
2279
2280
  const strokeColorBorder = props.done ? "#7693AF" : "#6C95F5";
@@ -2310,7 +2311,7 @@ const GDrivingLine = defineSetup(function GDrivingLine2(props) {
2310
2311
  path: google.maps.SymbolPath.FORWARD_OPEN_ARROW,
2311
2312
  strokeColor: "white",
2312
2313
  strokeWeight: dirStrokeWeight,
2313
- scale: 1
2314
+ scale: 0.7
2314
2315
  },
2315
2316
  repeat: `${repeat}px`
2316
2317
  }]
package/dist/index.js CHANGED
@@ -2116,6 +2116,7 @@ const HeycarMap = defineLagecySetup(function HeycarMap2(props, {
2116
2116
  "center": center ? vec2lnglat(center) : void 0,
2117
2117
  "zoom": zoom,
2118
2118
  "disableDefaultUI": true,
2119
+ "clickableIcons": false,
2119
2120
  "disableDoubleClickZoom": touchEnable,
2120
2121
  "gestureHandling": touchEnable ? "auto" : "none",
2121
2122
  "keyboardShortcuts": touchEnable
@@ -2267,11 +2268,11 @@ const GDrivingLine = defineSetup(function GDrivingLine2(props) {
2267
2268
  const pathRef = computed(() => props.path.map(vec2lnglat));
2268
2269
  return () => {
2269
2270
  const vw = window.innerWidth * 0.01;
2270
- const repeat = 5 * vw;
2271
- const strokeWidth = 1.25 * vw;
2272
- const borderWidth = 0.175 * vw;
2273
- const dirStrokeWeight = 0.375 * vw;
2274
- const outlineWidth = 0.4 * vw;
2271
+ const repeat = 10 * vw;
2272
+ const strokeWidth = 1.25 * vw * 0.65;
2273
+ const borderWidth = 0.175 * vw * 0.65;
2274
+ const dirStrokeWeight = 0.375 * vw * 0.65;
2275
+ const outlineWidth = 0.45 * vw * 0.65;
2275
2276
  const strokeColorInner = props.done ? "#96B2CA" : "#487BF4";
2276
2277
  const strokeColorOuter = props.done ? "#7693AF" : "#4175F1";
2277
2278
  const strokeColorBorder = props.done ? "#7693AF" : "#6C95F5";
@@ -2308,7 +2309,7 @@ const GDrivingLine = defineSetup(function GDrivingLine2(props) {
2308
2309
  path: google.maps.SymbolPath.FORWARD_OPEN_ARROW,
2309
2310
  strokeColor: "white",
2310
2311
  strokeWeight: dirStrokeWeight,
2311
- scale: 1
2312
+ scale: 0.7
2312
2313
  },
2313
2314
  repeat: `${repeat}px`
2314
2315
  }]
package/dist/style.css CHANGED
@@ -120,6 +120,9 @@
120
120
  }
121
121
  a[title*="Google"]>div>img[alt="Google"], .gmnoprint {
122
122
  display: none;
123
+ }
124
+ ._7anfuo0 [class*="marker-view"] {
125
+ will-change: unset !important;
123
126
  }._4a4ovk0 {
124
127
  margin-bottom: -0.4vw;
125
128
  display: flex;
@@ -201,6 +204,7 @@ a[title*="Google"]>div>img[alt="Google"], .gmnoprint {
201
204
  }
202
205
  .fhyw85 {
203
206
  margin-bottom: -2.265vw;
207
+ width: max-content;
204
208
  }
205
209
  .fhyw86 {
206
210
  margin-right: calc(50% - 2.265vw);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heycar/heycars-map",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite -c vite.config.dev.ts",
package/todo.md CHANGED
@@ -106,3 +106,12 @@ https://dawchihliou.github.io/articles/building-custom-google-maps-marker-react-
106
106
 
107
107
  - 5500
108
108
  - 5524
109
+
110
+ 0.6.3
111
+
112
+ - 5623
113
+ - 5625
114
+ - 5550
115
+ - 5546
116
+ - 5541
117
+ - 5540