@heycar/heycars-map 0.5.2 → 0.5.4
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/business-components/TaxiCar/TaxiCar.css.d.ts +1 -0
- package/dist/index.cjs +26 -17
- package/dist/index.js +26 -17
- package/dist/style.css +11 -0
- package/package.json +1 -1
- package/todo.md +15 -0
package/dist/index.cjs
CHANGED
|
@@ -1867,21 +1867,17 @@ const useAmapWheelZoomCenter = (props) => {
|
|
|
1867
1867
|
const { deltaY } = e;
|
|
1868
1868
|
const prevZoom = (_b = (_a = mapRef.value) == null ? void 0 : _a.getZoom()) != null ? _b : 0;
|
|
1869
1869
|
const zoom = prevZoom + ZOOM_WHEEL_RATIO * deltaY;
|
|
1870
|
-
console.log("handleWheel zoom = ", zoom);
|
|
1871
1870
|
(_c = mapRef.value) == null ? void 0 : _c.setZoom(zoom);
|
|
1872
1871
|
};
|
|
1873
1872
|
Vue.watch(
|
|
1874
1873
|
() => enableRef == null ? void 0 : enableRef.value,
|
|
1875
1874
|
(enable, _, onCleanup) => {
|
|
1876
1875
|
if (enable) {
|
|
1877
|
-
console.log("addEventListener wheel");
|
|
1878
1876
|
addEventListener("wheel", handleWheel);
|
|
1879
1877
|
} else {
|
|
1880
|
-
console.log("removeEventListener wheel");
|
|
1881
1878
|
removeEventListener("wheel", handleWheel);
|
|
1882
1879
|
}
|
|
1883
1880
|
onCleanup(() => {
|
|
1884
|
-
console.log("onClean removeEventListener wheel");
|
|
1885
1881
|
removeEventListener("wheel", handleWheel);
|
|
1886
1882
|
});
|
|
1887
1883
|
},
|
|
@@ -2038,6 +2034,7 @@ const Gmap = defineSetup(function Gmap2(props, { slots, emit }) {
|
|
|
2038
2034
|
return Vue.h("div", { ref: elementRef, class: gmap }, (_a = slots.default) == null ? void 0 : _a.call(slots));
|
|
2039
2035
|
};
|
|
2040
2036
|
});
|
|
2037
|
+
window.movingDraw = !new URLSearchParams(location.search).has("disableMovingDraw");
|
|
2041
2038
|
const MapProvider = defineLagecySetup(function MapProvider2(props, {
|
|
2042
2039
|
slots
|
|
2043
2040
|
}) {
|
|
@@ -2330,7 +2327,10 @@ const useADrivingRoute = (props) => {
|
|
|
2330
2327
|
const outputRoute = Vue.reactive({ path: [], distance: 0, duration: 0 });
|
|
2331
2328
|
const amapDriving = new AMap.Driving({});
|
|
2332
2329
|
watchPostEffectForDeepOption(
|
|
2333
|
-
() =>
|
|
2330
|
+
() => {
|
|
2331
|
+
const { from, to } = props;
|
|
2332
|
+
return { from, to };
|
|
2333
|
+
},
|
|
2334
2334
|
({ from, to }) => {
|
|
2335
2335
|
amapDriving.search(
|
|
2336
2336
|
AMap.LngLat.from(from),
|
|
@@ -2524,7 +2524,7 @@ const useAmapFitView = (props) => {
|
|
|
2524
2524
|
const overlayGroup = /* @__PURE__ */ new Set();
|
|
2525
2525
|
let timer = void 0;
|
|
2526
2526
|
const setFitView = () => {
|
|
2527
|
-
var _a;
|
|
2527
|
+
var _a, _b;
|
|
2528
2528
|
const map = mapRef.value;
|
|
2529
2529
|
if (!map)
|
|
2530
2530
|
return;
|
|
@@ -2532,6 +2532,12 @@ const useAmapFitView = (props) => {
|
|
|
2532
2532
|
const [top, right, bottom, left] = (_a = props.padding) != null ? _a : [0, 0, 0, 0];
|
|
2533
2533
|
spaceLog("setFitView", "overlayGroup = ", overlayGroup);
|
|
2534
2534
|
map.setFitView([...overlayGroup], false, [top * vw, bottom * vw, left * vw, right * vw]);
|
|
2535
|
+
if (overlayGroup.size === 1) {
|
|
2536
|
+
const [overlay] = [...overlayGroup];
|
|
2537
|
+
const position = (_b = overlay.getPosition) == null ? void 0 : _b.call(overlay);
|
|
2538
|
+
if (position)
|
|
2539
|
+
map.panTo(position);
|
|
2540
|
+
}
|
|
2535
2541
|
};
|
|
2536
2542
|
const registerFitVeiw = {
|
|
2537
2543
|
add: (overlay) => {
|
|
@@ -2781,7 +2787,7 @@ var pointIcon = createRuntimeFn({ defaultClassName: "", variantClassNames: { typ
|
|
|
2781
2787
|
var pointInfoBox = "_4a4ovk1";
|
|
2782
2788
|
var pointInfoBoxDescription = "_4a4ovk4";
|
|
2783
2789
|
var pointInfoBoxEmphasize$1 = "_4a4ovk5";
|
|
2784
|
-
var pointInfoBoxTitle
|
|
2790
|
+
var pointInfoBoxTitle = "_4a4ovk3";
|
|
2785
2791
|
var pointLayout$1 = "_4a4ovk0";
|
|
2786
2792
|
var pointSingleInfoBox$1 = "_4a4ovk2";
|
|
2787
2793
|
const AStartEndPoint = defineSetup(function AStartEndPoint2(props) {
|
|
@@ -2797,7 +2803,7 @@ const AStartEndPoint = defineSetup(function AStartEndPoint2(props) {
|
|
|
2797
2803
|
return `
|
|
2798
2804
|
<div class="${pointLayout$1}">
|
|
2799
2805
|
<div class="${pointSingleInfoBox$1}">
|
|
2800
|
-
<div class="${pointInfoBoxTitle
|
|
2806
|
+
<div class="${pointInfoBoxTitle}">${props.title}</div>
|
|
2801
2807
|
</div>
|
|
2802
2808
|
<img src="${icon}" class="${pointIcon({
|
|
2803
2809
|
type: props.type
|
|
@@ -2807,7 +2813,7 @@ const AStartEndPoint = defineSetup(function AStartEndPoint2(props) {
|
|
|
2807
2813
|
return `
|
|
2808
2814
|
<div class="${pointLayout$1}">
|
|
2809
2815
|
<div class="${pointInfoBox}">
|
|
2810
|
-
<div class="${pointInfoBoxTitle
|
|
2816
|
+
<div class="${pointInfoBoxTitle}">${(_a = props.title) != null ? _a : ""}</div>
|
|
2811
2817
|
<div class="${pointInfoBoxDescription}">${descriptionRow}</div>
|
|
2812
2818
|
</div>
|
|
2813
2819
|
<img src="${icon}" class="${pointIcon({
|
|
@@ -2843,7 +2849,7 @@ const GStartEndPoint = defineSetup(function GStartEndPoint2(props) {
|
|
|
2843
2849
|
class: pointLayout$1
|
|
2844
2850
|
}, `
|
|
2845
2851
|
<div class="${pointSingleInfoBox$1}">
|
|
2846
|
-
<div class="${pointInfoBoxTitle
|
|
2852
|
+
<div class="${pointInfoBoxTitle}">${props.title}</div>
|
|
2847
2853
|
</div>
|
|
2848
2854
|
<img src="${icon}" class="${pointIcon({
|
|
2849
2855
|
type: props.type
|
|
@@ -2853,7 +2859,7 @@ const GStartEndPoint = defineSetup(function GStartEndPoint2(props) {
|
|
|
2853
2859
|
class: pointLayout$1
|
|
2854
2860
|
}, `
|
|
2855
2861
|
<div class="${pointInfoBox}">
|
|
2856
|
-
<div class="${pointInfoBoxTitle
|
|
2862
|
+
<div class="${pointInfoBoxTitle}">${(_a = props.title) != null ? _a : ""}</div>
|
|
2857
2863
|
<div class="${pointInfoBoxDescription}">${descriptionRow}</div>
|
|
2858
2864
|
</div>
|
|
2859
2865
|
<img src="${icon}" class="${pointIcon({
|
|
@@ -4088,9 +4094,9 @@ const TaxiCar_css_ts_vanilla = "";
|
|
|
4088
4094
|
var carIcon = "_65j3sr1";
|
|
4089
4095
|
var hide = createRuntimeFn({ defaultClassName: "", variantClassNames: { hide: { true: "_65j3sr2", false: "_65j3sr3" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4090
4096
|
var pointInfoBoxEmphasize = "_4a4ovk5";
|
|
4091
|
-
var pointInfoBoxTitle = "_4a4ovk3";
|
|
4092
4097
|
var pointLayout = "_4a4ovk0";
|
|
4093
4098
|
var pointSingleInfoBox = "_4a4ovk2";
|
|
4099
|
+
var taxiCarTitle = "_65j3sr4";
|
|
4094
4100
|
const ATaxiCar = defineSetup(function ATaxiCar2(props) {
|
|
4095
4101
|
const contentRef = Vue.computed(() => {
|
|
4096
4102
|
var _a;
|
|
@@ -4105,7 +4111,7 @@ const ATaxiCar = defineSetup(function ATaxiCar2(props) {
|
|
|
4105
4111
|
<div class="${pointSingleInfoBox} ${hide({
|
|
4106
4112
|
hide: !hide$1
|
|
4107
4113
|
})}">
|
|
4108
|
-
<div class="${
|
|
4114
|
+
<div class="${taxiCarTitle}">${titleRow}</div>
|
|
4109
4115
|
</div>
|
|
4110
4116
|
<img src="${imgTaxicar}" class="${carIcon} ${hide({
|
|
4111
4117
|
hide: hide$1
|
|
@@ -4125,7 +4131,7 @@ const ATaxiCar = defineSetup(function ATaxiCar2(props) {
|
|
|
4125
4131
|
"registerOverlay": props.registerOverlay,
|
|
4126
4132
|
"zIndex": ZINDEX_CAR_LAYER
|
|
4127
4133
|
}
|
|
4128
|
-
}), Vue.h(AmapMarker, {
|
|
4134
|
+
}), !!contentRef.value.box && Vue.h(AmapMarker, {
|
|
4129
4135
|
"attrs": {
|
|
4130
4136
|
"position": props.position,
|
|
4131
4137
|
"content": contentRef.value.box,
|
|
@@ -4154,7 +4160,7 @@ const GTaxiCar = defineSetup(function GTaxiCar2(props) {
|
|
|
4154
4160
|
<div class="${pointSingleInfoBox} ${hide({
|
|
4155
4161
|
hide: !hide$1
|
|
4156
4162
|
})}">
|
|
4157
|
-
<div class="${
|
|
4163
|
+
<div class="${taxiCarTitle}">${titleRow}</div>
|
|
4158
4164
|
</div>
|
|
4159
4165
|
<img src="${imgTaxicar}" class="${carIcon} ${hide({
|
|
4160
4166
|
hide: hide$1
|
|
@@ -4173,7 +4179,7 @@ const GTaxiCar = defineSetup(function GTaxiCar2(props) {
|
|
|
4173
4179
|
"registerOverlay": props.registerOverlay,
|
|
4174
4180
|
"zIndex": ZINDEX_CAR_LAYER
|
|
4175
4181
|
}
|
|
4176
|
-
}), Vue.h(GmapAdvancedMarkerView, {
|
|
4182
|
+
}), !!contentRef.value.box && Vue.h(GmapAdvancedMarkerView, {
|
|
4177
4183
|
"attrs": {
|
|
4178
4184
|
"position": vec2lnglat(props.position),
|
|
4179
4185
|
"content": contentRef.value.box,
|
|
@@ -4262,7 +4268,10 @@ const useAWalkingRoute = (props) => {
|
|
|
4262
4268
|
const pathRef = Vue.shallowRef([]);
|
|
4263
4269
|
const amapWalking = new AMap.Walking({});
|
|
4264
4270
|
watchPostEffectForDeepOption(
|
|
4265
|
-
() =>
|
|
4271
|
+
() => {
|
|
4272
|
+
const { from, to } = props;
|
|
4273
|
+
return { from, to };
|
|
4274
|
+
},
|
|
4266
4275
|
({ from, to }) => {
|
|
4267
4276
|
amapWalking.search(AMap.LngLat.from(from), AMap.LngLat.from(to), (status, result) => {
|
|
4268
4277
|
switch (status) {
|
package/dist/index.js
CHANGED
|
@@ -1865,21 +1865,17 @@ const useAmapWheelZoomCenter = (props) => {
|
|
|
1865
1865
|
const { deltaY } = e;
|
|
1866
1866
|
const prevZoom = (_b = (_a = mapRef.value) == null ? void 0 : _a.getZoom()) != null ? _b : 0;
|
|
1867
1867
|
const zoom = prevZoom + ZOOM_WHEEL_RATIO * deltaY;
|
|
1868
|
-
console.log("handleWheel zoom = ", zoom);
|
|
1869
1868
|
(_c = mapRef.value) == null ? void 0 : _c.setZoom(zoom);
|
|
1870
1869
|
};
|
|
1871
1870
|
watch(
|
|
1872
1871
|
() => enableRef == null ? void 0 : enableRef.value,
|
|
1873
1872
|
(enable, _, onCleanup) => {
|
|
1874
1873
|
if (enable) {
|
|
1875
|
-
console.log("addEventListener wheel");
|
|
1876
1874
|
addEventListener("wheel", handleWheel);
|
|
1877
1875
|
} else {
|
|
1878
|
-
console.log("removeEventListener wheel");
|
|
1879
1876
|
removeEventListener("wheel", handleWheel);
|
|
1880
1877
|
}
|
|
1881
1878
|
onCleanup(() => {
|
|
1882
|
-
console.log("onClean removeEventListener wheel");
|
|
1883
1879
|
removeEventListener("wheel", handleWheel);
|
|
1884
1880
|
});
|
|
1885
1881
|
},
|
|
@@ -2036,6 +2032,7 @@ const Gmap = defineSetup(function Gmap2(props, { slots, emit }) {
|
|
|
2036
2032
|
return h("div", { ref: elementRef, class: gmap }, (_a = slots.default) == null ? void 0 : _a.call(slots));
|
|
2037
2033
|
};
|
|
2038
2034
|
});
|
|
2035
|
+
window.movingDraw = !new URLSearchParams(location.search).has("disableMovingDraw");
|
|
2039
2036
|
const MapProvider = defineLagecySetup(function MapProvider2(props, {
|
|
2040
2037
|
slots
|
|
2041
2038
|
}) {
|
|
@@ -2328,7 +2325,10 @@ const useADrivingRoute = (props) => {
|
|
|
2328
2325
|
const outputRoute = reactive({ path: [], distance: 0, duration: 0 });
|
|
2329
2326
|
const amapDriving = new AMap.Driving({});
|
|
2330
2327
|
watchPostEffectForDeepOption(
|
|
2331
|
-
() =>
|
|
2328
|
+
() => {
|
|
2329
|
+
const { from, to } = props;
|
|
2330
|
+
return { from, to };
|
|
2331
|
+
},
|
|
2332
2332
|
({ from, to }) => {
|
|
2333
2333
|
amapDriving.search(
|
|
2334
2334
|
AMap.LngLat.from(from),
|
|
@@ -2522,7 +2522,7 @@ const useAmapFitView = (props) => {
|
|
|
2522
2522
|
const overlayGroup = /* @__PURE__ */ new Set();
|
|
2523
2523
|
let timer = void 0;
|
|
2524
2524
|
const setFitView = () => {
|
|
2525
|
-
var _a;
|
|
2525
|
+
var _a, _b;
|
|
2526
2526
|
const map = mapRef.value;
|
|
2527
2527
|
if (!map)
|
|
2528
2528
|
return;
|
|
@@ -2530,6 +2530,12 @@ const useAmapFitView = (props) => {
|
|
|
2530
2530
|
const [top, right, bottom, left] = (_a = props.padding) != null ? _a : [0, 0, 0, 0];
|
|
2531
2531
|
spaceLog("setFitView", "overlayGroup = ", overlayGroup);
|
|
2532
2532
|
map.setFitView([...overlayGroup], false, [top * vw, bottom * vw, left * vw, right * vw]);
|
|
2533
|
+
if (overlayGroup.size === 1) {
|
|
2534
|
+
const [overlay] = [...overlayGroup];
|
|
2535
|
+
const position = (_b = overlay.getPosition) == null ? void 0 : _b.call(overlay);
|
|
2536
|
+
if (position)
|
|
2537
|
+
map.panTo(position);
|
|
2538
|
+
}
|
|
2533
2539
|
};
|
|
2534
2540
|
const registerFitVeiw = {
|
|
2535
2541
|
add: (overlay) => {
|
|
@@ -2779,7 +2785,7 @@ var pointIcon = createRuntimeFn({ defaultClassName: "", variantClassNames: { typ
|
|
|
2779
2785
|
var pointInfoBox = "_4a4ovk1";
|
|
2780
2786
|
var pointInfoBoxDescription = "_4a4ovk4";
|
|
2781
2787
|
var pointInfoBoxEmphasize$1 = "_4a4ovk5";
|
|
2782
|
-
var pointInfoBoxTitle
|
|
2788
|
+
var pointInfoBoxTitle = "_4a4ovk3";
|
|
2783
2789
|
var pointLayout$1 = "_4a4ovk0";
|
|
2784
2790
|
var pointSingleInfoBox$1 = "_4a4ovk2";
|
|
2785
2791
|
const AStartEndPoint = defineSetup(function AStartEndPoint2(props) {
|
|
@@ -2795,7 +2801,7 @@ const AStartEndPoint = defineSetup(function AStartEndPoint2(props) {
|
|
|
2795
2801
|
return `
|
|
2796
2802
|
<div class="${pointLayout$1}">
|
|
2797
2803
|
<div class="${pointSingleInfoBox$1}">
|
|
2798
|
-
<div class="${pointInfoBoxTitle
|
|
2804
|
+
<div class="${pointInfoBoxTitle}">${props.title}</div>
|
|
2799
2805
|
</div>
|
|
2800
2806
|
<img src="${icon}" class="${pointIcon({
|
|
2801
2807
|
type: props.type
|
|
@@ -2805,7 +2811,7 @@ const AStartEndPoint = defineSetup(function AStartEndPoint2(props) {
|
|
|
2805
2811
|
return `
|
|
2806
2812
|
<div class="${pointLayout$1}">
|
|
2807
2813
|
<div class="${pointInfoBox}">
|
|
2808
|
-
<div class="${pointInfoBoxTitle
|
|
2814
|
+
<div class="${pointInfoBoxTitle}">${(_a = props.title) != null ? _a : ""}</div>
|
|
2809
2815
|
<div class="${pointInfoBoxDescription}">${descriptionRow}</div>
|
|
2810
2816
|
</div>
|
|
2811
2817
|
<img src="${icon}" class="${pointIcon({
|
|
@@ -2841,7 +2847,7 @@ const GStartEndPoint = defineSetup(function GStartEndPoint2(props) {
|
|
|
2841
2847
|
class: pointLayout$1
|
|
2842
2848
|
}, `
|
|
2843
2849
|
<div class="${pointSingleInfoBox$1}">
|
|
2844
|
-
<div class="${pointInfoBoxTitle
|
|
2850
|
+
<div class="${pointInfoBoxTitle}">${props.title}</div>
|
|
2845
2851
|
</div>
|
|
2846
2852
|
<img src="${icon}" class="${pointIcon({
|
|
2847
2853
|
type: props.type
|
|
@@ -2851,7 +2857,7 @@ const GStartEndPoint = defineSetup(function GStartEndPoint2(props) {
|
|
|
2851
2857
|
class: pointLayout$1
|
|
2852
2858
|
}, `
|
|
2853
2859
|
<div class="${pointInfoBox}">
|
|
2854
|
-
<div class="${pointInfoBoxTitle
|
|
2860
|
+
<div class="${pointInfoBoxTitle}">${(_a = props.title) != null ? _a : ""}</div>
|
|
2855
2861
|
<div class="${pointInfoBoxDescription}">${descriptionRow}</div>
|
|
2856
2862
|
</div>
|
|
2857
2863
|
<img src="${icon}" class="${pointIcon({
|
|
@@ -4086,9 +4092,9 @@ const TaxiCar_css_ts_vanilla = "";
|
|
|
4086
4092
|
var carIcon = "_65j3sr1";
|
|
4087
4093
|
var hide = createRuntimeFn({ defaultClassName: "", variantClassNames: { hide: { true: "_65j3sr2", false: "_65j3sr3" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4088
4094
|
var pointInfoBoxEmphasize = "_4a4ovk5";
|
|
4089
|
-
var pointInfoBoxTitle = "_4a4ovk3";
|
|
4090
4095
|
var pointLayout = "_4a4ovk0";
|
|
4091
4096
|
var pointSingleInfoBox = "_4a4ovk2";
|
|
4097
|
+
var taxiCarTitle = "_65j3sr4";
|
|
4092
4098
|
const ATaxiCar = defineSetup(function ATaxiCar2(props) {
|
|
4093
4099
|
const contentRef = computed(() => {
|
|
4094
4100
|
var _a;
|
|
@@ -4103,7 +4109,7 @@ const ATaxiCar = defineSetup(function ATaxiCar2(props) {
|
|
|
4103
4109
|
<div class="${pointSingleInfoBox} ${hide({
|
|
4104
4110
|
hide: !hide$1
|
|
4105
4111
|
})}">
|
|
4106
|
-
<div class="${
|
|
4112
|
+
<div class="${taxiCarTitle}">${titleRow}</div>
|
|
4107
4113
|
</div>
|
|
4108
4114
|
<img src="${imgTaxicar}" class="${carIcon} ${hide({
|
|
4109
4115
|
hide: hide$1
|
|
@@ -4123,7 +4129,7 @@ const ATaxiCar = defineSetup(function ATaxiCar2(props) {
|
|
|
4123
4129
|
"registerOverlay": props.registerOverlay,
|
|
4124
4130
|
"zIndex": ZINDEX_CAR_LAYER
|
|
4125
4131
|
}
|
|
4126
|
-
}), h(AmapMarker, {
|
|
4132
|
+
}), !!contentRef.value.box && h(AmapMarker, {
|
|
4127
4133
|
"attrs": {
|
|
4128
4134
|
"position": props.position,
|
|
4129
4135
|
"content": contentRef.value.box,
|
|
@@ -4152,7 +4158,7 @@ const GTaxiCar = defineSetup(function GTaxiCar2(props) {
|
|
|
4152
4158
|
<div class="${pointSingleInfoBox} ${hide({
|
|
4153
4159
|
hide: !hide$1
|
|
4154
4160
|
})}">
|
|
4155
|
-
<div class="${
|
|
4161
|
+
<div class="${taxiCarTitle}">${titleRow}</div>
|
|
4156
4162
|
</div>
|
|
4157
4163
|
<img src="${imgTaxicar}" class="${carIcon} ${hide({
|
|
4158
4164
|
hide: hide$1
|
|
@@ -4171,7 +4177,7 @@ const GTaxiCar = defineSetup(function GTaxiCar2(props) {
|
|
|
4171
4177
|
"registerOverlay": props.registerOverlay,
|
|
4172
4178
|
"zIndex": ZINDEX_CAR_LAYER
|
|
4173
4179
|
}
|
|
4174
|
-
}), h(GmapAdvancedMarkerView, {
|
|
4180
|
+
}), !!contentRef.value.box && h(GmapAdvancedMarkerView, {
|
|
4175
4181
|
"attrs": {
|
|
4176
4182
|
"position": vec2lnglat(props.position),
|
|
4177
4183
|
"content": contentRef.value.box,
|
|
@@ -4260,7 +4266,10 @@ const useAWalkingRoute = (props) => {
|
|
|
4260
4266
|
const pathRef = shallowRef([]);
|
|
4261
4267
|
const amapWalking = new AMap.Walking({});
|
|
4262
4268
|
watchPostEffectForDeepOption(
|
|
4263
|
-
() =>
|
|
4269
|
+
() => {
|
|
4270
|
+
const { from, to } = props;
|
|
4271
|
+
return { from, to };
|
|
4272
|
+
},
|
|
4264
4273
|
({ from, to }) => {
|
|
4265
4274
|
amapWalking.search(AMap.LngLat.from(from), AMap.LngLat.from(to), (status, result) => {
|
|
4266
4275
|
switch (status) {
|
package/dist/style.css
CHANGED
|
@@ -108,6 +108,9 @@
|
|
|
108
108
|
height: 3.2vw;
|
|
109
109
|
}._1d8ur7t0 {
|
|
110
110
|
position: relative;
|
|
111
|
+
}
|
|
112
|
+
.amap-logo, .amap-copyright {
|
|
113
|
+
opacity: 0;
|
|
111
114
|
}._7anfuo0 {
|
|
112
115
|
height: inherit;
|
|
113
116
|
width: inherit;
|
|
@@ -230,6 +233,14 @@
|
|
|
230
233
|
}
|
|
231
234
|
._65j3sr2 {
|
|
232
235
|
visibility: hidden;
|
|
236
|
+
}
|
|
237
|
+
._65j3sr4 {
|
|
238
|
+
font-size: 3.2vw;
|
|
239
|
+
font-family: PingFangSC-Medium, PingFang SC;
|
|
240
|
+
font-weight: 500;
|
|
241
|
+
color: #1E1E1E;
|
|
242
|
+
line-height: 3.8vw;
|
|
243
|
+
white-space: nowrap;
|
|
233
244
|
}@keyframes rrvp0y0 {
|
|
234
245
|
0% {
|
|
235
246
|
transform: scale(0);
|
package/package.json
CHANGED
package/todo.md
CHANGED
|
@@ -5,6 +5,7 @@ https://dawchihliou.github.io/articles/building-custom-google-maps-marker-react-
|
|
|
5
5
|
4. 做完其他事情进入首页,变成了获取定位失败,但其实 gps 是 ok 的,因为刷新页面是有点位的
|
|
6
6
|
5. map 的两个 slot loading 和 error slot 没有生效
|
|
7
7
|
6. 企业微信如果关闭定位,会不停的跳 geoError 事件
|
|
8
|
+
7. 司机已接单页面,title 倒计时, 1s 更新一次 title,引起 walking 接口 1s 触发
|
|
8
9
|
|
|
9
10
|
缩放问题
|
|
10
11
|
|
|
@@ -79,3 +80,17 @@ https://dawchihliou.github.io/articles/building-custom-google-maps-marker-react-
|
|
|
79
80
|
- 5347
|
|
80
81
|
- 5348
|
|
81
82
|
- 5057
|
|
83
|
+
|
|
84
|
+
0.5.3
|
|
85
|
+
|
|
86
|
+
- 4867
|
|
87
|
+
- 4920
|
|
88
|
+
- 5252
|
|
89
|
+
- 5366
|
|
90
|
+
- 5364
|
|
91
|
+
- 5373
|
|
92
|
+
|
|
93
|
+
0.5.4
|
|
94
|
+
|
|
95
|
+
- 5375
|
|
96
|
+
- 4946
|