feat(workbench): align v2 GIS and SCADA API
This commit is contained in:
@@ -259,11 +259,12 @@ export function MapWorkbenchPage({
|
||||
});
|
||||
}
|
||||
|
||||
const { mapRef, mapReady, mapError, sourceStatuses, fitNetworkBounds } = useWorkbenchMap({
|
||||
const { mapRef, mapReady, mapError, sourceStatuses, fitNetworkBounds, getScadaFeatures } = useWorkbenchMap({
|
||||
containerRef: mapContainerRef,
|
||||
impactVisible,
|
||||
onSelectFeature: handleSelectFeature,
|
||||
selectedFeature: detailFeature
|
||||
selectedFeature: detailFeature,
|
||||
getAccessToken
|
||||
});
|
||||
const { controller: mapController, state: mapControllerState } = useWorkbenchMapController({
|
||||
mapRef,
|
||||
@@ -271,7 +272,8 @@ export function MapWorkbenchPage({
|
||||
leftPanelOpen: false,
|
||||
rightPanelOpen,
|
||||
conditionPanelExpanded: rightPanelExpanded,
|
||||
agentPanelWidth
|
||||
agentPanelWidth,
|
||||
getScadaFeatures
|
||||
});
|
||||
|
||||
const activeAgentUiResults = useMemo(
|
||||
|
||||
Reference in New Issue
Block a user