Page 1 of 1

EDSC - Timeline plugin

Posted: Mon Dec 11, 2023 11:11 am America/New_York
by stiven67
Good morning, community. I am in the process of creating a GIS portal that allows the visualization and selection of information from a timeline. I am aware of this plugin https://github.com/nasa/edsc-timeline/tree/main and that it can be used in different projects. I tried to install it locally to analyze its operation following the steps in the README.md file, however I received error messages like the ones attached. I would like to know if it requires previously downloading or updating any file or program. Thank you.
Attachments. Error message when trying first codeline: npm install @edsc/timeline

Re: EDSC - Timeline plugin

Posted: Tue Dec 12, 2023 3:36 pm America/New_York
by rabbott
Hi @stiven67,

Unfortunately the error messages you're receiving are specific to your development environment, it seems it's looking for Visual Studio, which is never referenced or required in any javascript packages we produce. I'd recommend looking into setting up a Node.js environment on Windows, a quick Google turns up this promising articles from Microsoft: https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows

Re: EDSC - Timeline plugin

Posted: Tue Dec 12, 2023 5:40 pm America/New_York
by stiven67
Hi, after a review it seems that it worked when using the command '>npm install node-sass@latest --legacy-peer-deps' when installing the latest version of the package mentioned in the first error line. Then with the command '>npm i -force @edsc/timeline' I forced the installation and I was able to use the '>npm start' command to view the example file locally, it allowed me to change the date ranges for instance. I wanted to know, in EDSC the timeline allows you to select the date range by filtering results. Could this plugin work as a widget within Arcgis Experience Builder? and Also, within the edsc app the plugin works together with the search results panel allowing you to select the collection of interest, then selecting the dates on the timeline and filtering the search results panel again. For this purpose, the ideal would be to use the web application in its entirety or is this search results panel component available for free use as well?
Finally, the array data set that I want to display on the timeline is the shapefiles date column and for it to change depending on the data collection that is selected. In what folder could this information be imported for use?
thank you.