This commit is contained in:
mmc
2026-11-02 13:50:25 +08:00
parent 2610084aab
commit 82a7ec1f40
3 changed files with 9 additions and 45 deletions

View File

@@ -453,16 +453,7 @@ const TaskMonitorPage: React.FC = () => {
))}
</div>
<div style={{ position: 'absolute', bottom: 20, right: 20, display: 'flex', gap: 8, zIndex: 10 }}>
<Button size="small" style={{ borderRadius: 4 }} icon={<MapIcon size={14} />} onClick={() => {
mapRef.current?.setMapType('google-satellite');
mapRef.current?.toggle3D(true);
}}>卫星全景</Button>
<Button size="small" style={{ borderRadius: 4 }} icon={<LayoutGrid size={14} />} onClick={() => {
mapRef.current?.setMapType('google-streets');
mapRef.current?.toggle3D(false);
}}>2D普通</Button>
</div>
</div>
</Col>