aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/networkMapApp/src/handlers
diff options
context:
space:
mode:
authorAijana Schumann <aijana.schumann@highstreet-technologies.com>2020-09-03 18:16:13 +0200
committerAijana Schumann <aijana.schumann@highstreet-technologies.com>2020-09-03 18:16:13 +0200
commit65ffa99d96e7b443e3d74ec20bbd321fd66aa76d (patch)
tree1c60e54fec94f80c96fb8a30c3dfbaf47ebe7573 /sdnr/wt/odlux/apps/networkMapApp/src/handlers
parent6a81f77f1f13332dd1784aeae9a27c322c8e556b (diff)
Update NetworkMap
update networkmap Issue-ID: CCSDK-2713 Signed-off-by: Aijana Schumann <aijana.schumann@highstreet-technologies.com> Change-Id: I97b0950a4d7f98fdb9044c1e05dfa8dfca34efaf
Diffstat (limited to 'sdnr/wt/odlux/apps/networkMapApp/src/handlers')
-rw-r--r--sdnr/wt/odlux/apps/networkMapApp/src/handlers/mapReducer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnr/wt/odlux/apps/networkMapApp/src/handlers/mapReducer.ts b/sdnr/wt/odlux/apps/networkMapApp/src/handlers/mapReducer.ts
index a140e9b77..6f6277347 100644
--- a/sdnr/wt/odlux/apps/networkMapApp/src/handlers/mapReducer.ts
+++ b/sdnr/wt/odlux/apps/networkMapApp/src/handlers/mapReducer.ts
@@ -50,7 +50,7 @@ export const MapReducer: IActionHandler<mapState> = (state=initialState, action:
if(action instanceof HighlightLinkAction){
- state = Object.assign({}, state, {selectedSite: null, selectedLink:{type: "Feature", geometry:{type:"LineString", coordinates:[[action.link.locationA.lon,action.link.locationA.lat ],[action.link.locationB.lon,action.link.locationB.lat ]]}}})
+ state = Object.assign({}, state, {selectedSite: null, selectedLink:{type: "Feature", properties:{id:action.link.id, type: action.link.type}, geometry:{type:"LineString", coordinates:[[action.link.locationA.lon,action.link.locationA.lat ],[action.link.locationB.lon,action.link.locationB.lat ]]}}})
}