marleymarl / geotimeline

12 stars 10 forks source link

Create date range picker for 'selecting all footprints that match date and lat/lon range' #78

Closed marleymarl closed 4 years ago

marleymarl commented 4 years ago

See attached screenshot. Create a date range picker that can fit inside the 'data' column of MapContainer and outputs a start date and end date onClick.

[This should output two date/times (start date, end date) to be passed along with 'bounding box' coordinates (lat/lon points), determined by the Map (presumably by a calculation involving initialCenter and zoom level but that still needs to be spec'd, to an API to get back a set of Markers that match geo + date/time range.

For this issue specifically though create the date range picker that outputs the date range (start, end) to console with an onClick function and we'll handle the geo coordinates grab and how to process the matching markers array that returns from API calls (including how we handle large arrays that need to be split into 'grouped markers') as separate issues.] daterangepicker

heldersepu commented 4 years ago

DaterangeSearch added to Collapsible as key 3 panel:

https://github.com/marleymarl/geotime/blob/a5a001722b59687dfb3363590561f0f36446b728/src/MapContainer.js#L422-L424

Screenshot from 2020-04-18 19-24-17