地图飞过去
This commit is contained in:
@@ -500,9 +500,9 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine,
|
||||
//if (index == 2 && from == "other") {
|
||||
// //flyToLayer(layerIdentifier, baseUrl, 100);
|
||||
//}
|
||||
//if (index == 0 && from == "other") {
|
||||
// flyToLayer(layerIdentifier, baseUrl, 100);
|
||||
//}
|
||||
if (index == 1 && from == "other") {
|
||||
flyToLayer(layerIdentifier, baseUrl, 100);
|
||||
}
|
||||
//getLayerBoundsAndFit(wmsUrl, layerName);
|
||||
|
||||
if (baseUrl.includes('/gwc/service/wms')) {
|
||||
|
||||
@@ -363,15 +363,15 @@ export default function StationDashboard() {
|
||||
bodyStyle={{ padding: 0, position: 'relative', overflow: 'hidden', height: 500 }}
|
||||
>
|
||||
<div style={{ height: "100%", background: '#111827', borderRadius: 8, width: '100%', overflow: 'hidden', position: "relative" }}>
|
||||
<iframe
|
||||
{/*<iframe
|
||||
src="https://pvs.satabot.com/?platform=web"
|
||||
style={{ width: '100%', height: '100%', border: 'none', borderRadius: '8px', position: "absolute" }}
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowFullScreen
|
||||
title={t('home.s20')}
|
||||
/>
|
||||
/>*/}
|
||||
|
||||
{/*<CesiumMap from="other" />*/}
|
||||
<CesiumMap from="other" />
|
||||
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
@@ -126,7 +126,7 @@ const RealTimeMonitorPage = () => {
|
||||
bodyStyle={{ padding: 0, position: 'relative', height: 400, overflow: 'hidden' }}
|
||||
>
|
||||
<div style={{ height: "100%", background: '#111827', borderRadius: 8, width: '100%', overflow: 'hidden', position: "relative" }}>
|
||||
<iframe
|
||||
{/*<iframe
|
||||
src="https://pvs.satabot.com/?platform=web"
|
||||
style={{
|
||||
width: '100%',
|
||||
@@ -138,10 +138,10 @@ const RealTimeMonitorPage = () => {
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowFullScreen
|
||||
title={t('home.s20')}
|
||||
/>
|
||||
/>*/}
|
||||
|
||||
|
||||
{/*<CesiumMap from="other" />*/}
|
||||
<CesiumMap from="other" />
|
||||
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user