nasa-jpl-memex / GeoPath-Clustering

To cluster geo paths that travel very similar paths
Apache License 2.0
4 stars 7 forks source link

Show list of all cities with date for selected entity #4

Open MBoustani opened 7 years ago

MBoustani commented 7 years ago

When user select and entity on result page show list of all cities and dates the entity was at in gray color and matched one in black color.

MBoustani commented 7 years ago

Showing list of all the cities and their dates would sometimes not fit in sidebar (too many) and also the query is very slow. Solution here is query one month before what user asked for start date and one month after what user asked for end date. The range (1 month for now) can be changed higher number.

wmburke commented 7 years ago

This seems like a fine solution, Mazi. You may also want to consider just adding a default accordion to hide all the info except for what you've outlined above. Then all the data would be on the page (loaded - but not displayed) and the user could toggle it out if they wanted it.

Are we using jquery on the page already? If so, this would be really easy: http://jqueryui.com/accordion/#collapsible