windrobin / timemap

Automatically exported from code.google.com/p/timemap
MIT License
0 stars 0 forks source link

TimeMap.init() should accept a date string or date object for scrollTo #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From
http://groups.google.com/group/timemap-development/browse_thread/thread/77cb0e58
e7ce4a67

I would like to be able to specify a specific date to the scrollTo
option, rather than earliest or latest.  This seems like it would be
an easy change (or am I missing something?) to ifLoadedFunction to
call setCenterVisibleDate with a provided date string rather than
getEarliestDate or getLatestDate from the eventSource.

This should probably support either a date string, parsed by hybridParser,
or a date object.

Original issue reported on code.google.com by nick.rab...@gmail.com on 27 May 2009 at 4:22

GoogleCodeExporter commented 9 years ago
Fixed in trunk.

Original comment by nick.rab...@gmail.com on 15 Jul 2009 at 3:36