Skip to content
Snippets Groups Projects
Commit 919d4866 authored by Xiao Gui's avatar Xiao Gui Committed by xgui3783
Browse files

feat: waxholm quicknii planes

parent 6a548dcb
No related branches found
No related tags found
No related merge requests found
......@@ -127,8 +127,11 @@ export class AtlasViewerDataService implements OnDestroy{
})
.catch(console.error)
}else if (templateSpace === 'Waxholm Rat V2.0'){
return fetch('res/json/camillaWaxholmPointsAggregatedData.json')
.then(res => res.json())
return Promise.all([
fetch('res/json/waxholmPlaneAggregatedData.json').then(res => res.json()),
fetch('res/json/camillaWaxholmPointsAggregatedData.json').then(res => res.json())
])
.then(arr => arr.reduce((acc,curr) => acc.concat(curr) ,[]))
.then(arr => {
this.store.dispatch({
type : FETCHED_SPATIAL_DATA,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment