[GIS] How to make timeline with OpenLayers

boundless-suitegeoextopenlayers-2

I have OL, GeoExt, gxp. I have a layer with Date attribute. So I want to show features with same date.

I found an example using gxp_playback, but it does not work because it can't find OpenLayer.TimeUnit.HOURS. I found some libraries that this example requires there but none contain OpenLayer.TimeUnit.

Am I searching for this in the wrong place? Or is this whole example bad and there is a simpler way to make timeline?

I found gxp_timeline in gxp docs but can't find any examples of how to use this.

Best Answer

Please check timeline plugin on GitHub. I am sure it will help you.

It contains simple library to create a time related map with Open Layers. It supports cluster strategy (Open Layers.Strategy.Cluster) and time filtering.

Currently it supports source data in GeoJSON or GeoRSS format.