地图优化

This commit is contained in:
yanran200730
2022-07-07 14:44:32 +08:00
parent d6038f1015
commit bbd55b25c7

View File

@@ -171,7 +171,7 @@
properties: {...e} properties: {...e}
})) || [], })) || [],
zoomOnClick: true, zoomOnClick: true,
maxZoom: 20 maxZoom: 18
}) })
this.setCenter(points.map(e => { this.setCenter(points.map(e => {
return new TMap.LatLng(e.lat, e.lng) return new TMap.LatLng(e.lat, e.lng)
@@ -368,6 +368,7 @@
} }
::v-deep.marker { ::v-deep.marker {
position: relative;
color: #fff; color: #fff;
background: #558BFE; background: #558BFE;
padding: 0 32px; padding: 0 32px;