ISG-ICS / cloudberry

Big Data Visualization
http://cloudberry.ics.uci.edu
91 stars 82 forks source link

Simplify frontend requests by moving them from TwitterMap web page to TwitterMap server #435

Closed haochen07 closed 5 years ago

haochen07 commented 6 years ago

This issue is continued to Issue #416

As the TwitterMap server is on, we need to redesign the Json request sent from front-end to TwitterMap server so that the front-end only transmits necessary information instead of fully formatted cloudberry requests. This would beautify front-end Json format by making it more user-friendly, and TwitterMap server will take those requests and render them into corresponding cloudberry requests. This draft below is one example of how we could define the front-end requests.

{
  click: {
    keyword: [],
    samples: [],
    normalization: true/false,
    ...
  } 
  drag: {
    map: {}
    timeline: {},
    ...
  }
  ...
}
chenlica commented 5 years ago

Will close.