|
|
@@ -277,15 +277,15 @@ const defaulDistance = 3;
|
|
|
const defaultScale = 12;
|
|
|
const pointSize = {
|
|
|
width: 30,
|
|
|
- height: 52,
|
|
|
+ height: 55,
|
|
|
fontSize: 7,
|
|
|
iconPath: "/static/images/map-point.png",
|
|
|
currentWidth: 42,
|
|
|
currentHeight: 72,
|
|
|
currentFontSize: 10,
|
|
|
currentIconPath: "/static/images/map-point-current.png",
|
|
|
- androidX: -14,
|
|
|
- androidCurrentX: -50,
|
|
|
+ androidX:1,
|
|
|
+ androidCurrentX: 1,
|
|
|
};
|
|
|
import { fetchHomeBanner } from "@/api";
|
|
|
import { deCode } from "../../utils/code";
|
|
|
@@ -463,7 +463,7 @@ const refreshStation = (location: any) => {
|
|
|
anchorY: -(
|
|
|
(index === _markersIndex
|
|
|
? pointSize.currentHeight
|
|
|
- : pointSize.height) - 3
|
|
|
+ : pointSize.height- 3)
|
|
|
),
|
|
|
},
|
|
|
};
|
|
|
@@ -723,7 +723,7 @@ const _changeMarker = (current: number) => {
|
|
|
_markers[markersIndex.value].width = pointSize.width;
|
|
|
_markers[markersIndex.value].height = pointSize.height;
|
|
|
_markers[markersIndex.value].label.fontSize = pointSize.fontSize;
|
|
|
- _markers[markersIndex.value].label.anchorY = -(pointSize.height - 3);
|
|
|
+ _markers[markersIndex.value].label.anchorY = -(pointSize.height-3);
|
|
|
if (!isIOS) {
|
|
|
_markers[markersIndex.value].label.anchorX = pointSize.androidX;
|
|
|
}
|