worldview component that allows the timeline to play over a period of time
npm install worldview-timeline-componentsExternal components built to use on the NASA Worldview satellite imagery visualization application. Worldview Timeline Components is built using ES6 and facebook's react JS library. This repository is the start of a larger project to make our code more scalable and readable.
npm install worldview-timeline-components
#### Get Entire Packagevar TimelineComponents = require('worldview-timeline-components');
#### Use Single Modulevar DateSelector = require('worldview-timeline-components').DateSelector;
#### Get Entire Packageimport TimelineComponents from 'worldview-timeline-components';
#### Grab what you needimport {DateSelector, Tooltip} from 'worldview-timeline-components';
Include wvtc.js in you index.html file
#### How to use it
WVTC is exposed as a global variable in wvtc.jsvar wv-utils = WVTC.utils;
A Date selection widget that handles validations. Recommended CSS can be found here
##### Example
height="30"
date={someJSDateYouWantToDisplay}
id='someId'
onDateChange={this.someOnChangeHandler}
maxDate={this.props.maxDate}
minDate={this.props.startDate}
/>
#### ToolTip
A widget that takes text and a array of text to display in a tooltip. When you hover over the given text you will see the array of strings.
Recommended CSS can be found here
##### Example
onClick={this.someClickHandeler}
dataArray={arrayOfStringsToDisplayInToolTip}/>
/>
* clone this repository
* use npm link to link your local version of WVTC.
* run gulp to babelify and browserify your code
* run gulp watch to compile your code on save.
This code was originally developed at NASA/Goddard Space Flight Center for
the Earth Science Data and Information System (ESDIS) project.
Copyright © 2013 - 2016 United States Government as represented by the
Administrator of the National Aeronautics and Space Administration.
All Rights Reserved.
Licensed under the NASA Open Source Agreement, Version 1.3.
We'd be quite excited if you'd like to contribute to Worldview Timeline Components! Whether it's finding bugs, adding new features, fixing anything broken, or improving documentation, get started by submitting an issue or pull request!
Please see our Roadmap for a list of Worldview features currently in progress.
Thanks for considering contributing and making our planet easier to explore!