禁止从3d切换为影像图
parent
77683fd7df
commit
21a8ae8922
|
|
@ -32,6 +32,9 @@ export default function Btn({showPanels,setShowPanels}) {
|
|||
}
|
||||
//影像图btn
|
||||
const yxtBtn = () =>{
|
||||
if(mode==='3d'){
|
||||
return
|
||||
}
|
||||
dispatch.map.setMode('2d');
|
||||
dispatch.map.setLayerVisible({ ['OfflineMap']: false });
|
||||
dispatch.map.setLayerVisible({ ['SatelliteImage']: true });
|
||||
|
|
|
|||
Loading…
Reference in New Issue