SCorley0901 / simile-widgets

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

user/programatically scaled top interval #473

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using Simile-widgets with TimeMap to reproduce some Google Earth 
functionality in Google Maps.  I'm doing this because Timeline is so much 
better than the dinky little time scroller you have in Google Earth.  

Feature request:
I would like to be able to dynamically set the time-interval shown in the top 
one.  By "dynamically" I just mean "without a lengthy reload."

Suggested interface:
All I really want is a programmatic way to do this. From a UI standpoint, I 
think I'd do it like this:
input) user clicks in one of the lower bands and drags the boundary of the 
highlighted region.  
effects) 1) stretch the highlighted region in all of the lower bands.
a) you might want to scale some if a highlighted region becomes too large 
compared to the whole band
2) change the time-scale of the top band.
3) In the case of TimeMap, only display the right data

Original issue reported on code.google.com by tttem...@gmail.com on 15 Apr 2012 at 5:01

GoogleCodeExporter commented 9 years ago
I found band.setViewLength (which is not in 
timeline/trunk/src/webapp/docs/bands.html I might add) which acheives effect 1 
and 3 but not 2.

Original comment by tttem...@gmail.com on 15 Apr 2012 at 6:18

GoogleCodeExporter commented 9 years ago
Ah, I realize now that TimeMap was not using 2.3.0.  the zoom functionality 
will suffice for what I want.

Original comment by tttem...@gmail.com on 15 Apr 2012 at 6:46