Closed rufuspollock closed 10 years ago
Fade-in/fade-out also being used by timemap.js in Hestia interface for reading Herodotus -- find it pretty effective, except it starts bright at appearance on the right edge and fades to half tone by middle of timeline span, where one would like it to be brightest when in the middle of the timespan shown in the timeline.
You can do this using opacity field in leaflet
main problem is locating where we are (timelinejs basically has no events at all!) and setting opacity appropriately relevant to the present (simpler might be to just to set this up so opacity increases linearly from start to end rather than updating relative to where one is right now ...)
Use a colorscale to indicate the age of events - oldest events are grey, newest are red.
More elaborate would be to fade-off for both past and future.
Implementation
Probably can't use classic markers but need circle markers.