2015-10-29 118 views
0

我想建立一个时间轴/时间滑块显示捕获的ip摄像头图像。 图像将被搜索和搜索结果将被保存在一个JSON对象的事件(与拍摄日期时间):建立一个IP摄像头拍摄图像的时间线

{ 
    { 
    id:"1", 
    startDate: "DateTime of the capture", 
    url: "source of the image" 
    }, 
    { 
    id:"2", 
    startDate: "DateTime of the capture" 
    url: "source of the image" 
    } 
    ... 

} 

与此JSON对象我想建立播放时间轴/时间滑。 我发现了一个我正在寻找的插件,但它只能用于重播GPS轨道的GeoJSON对象。

leafletplayback

有没有人一个想法如何建立这个时间表/时间滑?

回答

1

这可以使用时间轴JS3来完成,它将能够从JSON格式创建时间轴。您将不得不更改您的JSON格式以匹配Timeline JS3所需的格式。

https://timeline.knightlab.com