此次開發的GPS車輛人員定位系統中,涉及到的開發内容重點有:
1、車輛實時定位:要求頁面每10s重新整理一次,顯示車輛最後一次位置,地圖上的所有車輛點選可檢視車輛的實時運作資訊,如速度、方向以及基礎資訊,選擇某個車輛可以開始跟蹤該車輛的行駛路線。
2、車輛軌迹回放:根據某個時間段,選擇某輛車,進行軌迹回放。
3、電子圍欄:當某輛車不在規定的路線上行駛,要及時進行偏離路線處理。同時支援框選、多邊形選擇、圈選等操作,可以檢視範圍内有哪些車。對突發事件點周邊規定範圍内的應急救援車輛少于指定數量時,地圖上要能閃爍報警進行提示。
參考百度API示例位址:
1、JS API示例位址:
<a href="http://developer.baidu.com/map/jsdemo.htm#c2_8">http://developer.baidu.com/map/jsdemo.htm#c2_8</a>
2、車輛移動軌迹,或者跟蹤示例位址:
<a href="http://api.map.baidu.com/library/LuShu/1.2/examples/LuShu.html">http://api.map.baidu.com/library/LuShu/1.2/examples/LuShu.html</a>
3、拉框搜尋示例位址:
<a href="http://api.map.baidu.com/library/SearchInRectangle/1.2/example/searchInRectangle.html">http://api.map.baidu.com/library/SearchInRectangle/1.2/example/searchInRectangle.html</a>
4、點與多邊形、幾何元素運算關系示例位址:
<a href="http://api.map.baidu.com/library/GeoUtils/1.2/examples/simple.html">http://api.map.baidu.com/library/GeoUtils/1.2/examples/simple.html</a>
5、百度地圖自定義彈出框示例位址:
<a href="http://api.map.baidu.com/library/InfoBox/1.2/examples/InfoBox_House.html">http://api.map.baidu.com/library/InfoBox/1.2/examples/InfoBox_House.html</a>