yassineharbe / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

Return date timeline is centered on #436

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install timeline
2. scroll to date
3. return date via javascript

What is the expected output? What do you see instead?
date format (ex 1997)

What version of the product are you using? On what browser and what
operating system?

Please provide any additional information below.

How could I get the date where the timeline is centered on? For example, I want 
to drag the bands and return the date which is passing by the center line. Is 
there any way to do this?

Original issue reported on code.google.com by steven.s...@gmail.com on 5 May 2011 at 6:58

GoogleCodeExporter commented 9 years ago

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 10:37

GoogleCodeExporter commented 9 years ago
Given:
var tl = new Timeline(...)

tl.getBand(0).getCenterVisibleDate();

will return the date where a given band (in this case the first band) is 
centered on.

Original comment by mno...@mac.com on 23 Aug 2011 at 3:46