marleymarl / geotimeline

12 stars 10 forks source link

Create a new component DemoDataView.js which is a clone of DataView but calls /getfootprints #72

Closed marleymarl closed 4 years ago

marleymarl commented 4 years ago

DataView needs 2 different dedicated routes due to the case of visitors coming directly to those routes from external sources to view/consume the data. In these cases no props can be passed.

As a result we need one dedicated component and route for each.

Clone the DataView component and add as DemoDataView using existing API /getfootprints with same functionality as DataView. This will be added as a route /demodataview.

Existing DataView will call to /getrealfootprints and will continue to have route /dataview.