xiugai
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user