This example use a ol/control/Timeline as a time slider to display the 2015 earthquakes day by day.
-
Use the addButton() method to add a button on the Timeline.
-
Add the ol-pointer className to the Timeline to show a pointer on the center date.
More info and parameters