This commit is contained in:
zk
2024-02-20 13:18:30 +08:00
parent ef3e1c3b31
commit 2def3738c2
4 changed files with 69 additions and 60 deletions
+14 -5
View File
@@ -56,12 +56,12 @@ export const Map = {
getPolygon: function (geoJson: string, lngLats: any) {
return new AMap.Polyline({
path: lngLats[0],
strokeColor: '#6ccffe',
strokeColor: '#2384dd',
strokeWeight: 3,
lineJoin: 'round', //折线拐点的绘制样式
isOutline: true,
// lineJoin: 'round', //折线拐点的绘制样式
isOutline: false,
borderWeight: 2,
outlineColor: '#2d475f',
// outlineColor: '#6ccffe',
});
},
});
@@ -75,8 +75,17 @@ export const Map = {
getPolygon: function (geoJson: string, lngLats: any) {
return new AMap.Polyline({
path: lngLats[0],
strokeColor: '#359de5',
// strokeColor: '#57b2f8',
// strokeColor: '#2BA5FF',
// strokeColor: '#3d6eff',
// strokeWeight: 2,
// zIndex: 10,
isOutline: true,
outlineColor: '#2692fc', //88a5f8
borderWeight: 1,
strokeColor: '#88b9f8', //2657fc
strokeWeight: 1,
strokeOpacity: 0.8,
});
},
});