等元素構成多級功能菜單及查詢結果顯示界面,利用HTML5新增的Canvas元素及Audio與Video元素優化了在Web瀏覽器中進行矢量統計圖繪制及多媒體播放的一般方法,結合JavaScript及SuperMap iClient for JavaScript API對頁面元素進行控制,生成彈窗及氣泡等動態界面效果,使得WebGIS界面更加美觀生動、使用流暢,可跨平臺并易于維護。[1] 徐卓揆.基于HTML5、Ajax和WebService的WebGIS研究[J].測繪科學,2012(1):42-47.
[2] 李正學,許捍衛.基于HTML5的WebGIS儀表盤研究[J].地理空間信息,2015(2):123-125.
[3] CROWTHER R, LENNON J, BLUE A, et al. HTML5 inAction[M]. Manning, 2014.
[4] SMITH D, NEGRINO T. JavaScript基礎教程(第8版)[M].陳劍歐,柳濤,譯.北京:人民郵電出版社,2012.
[5] SuperMap圖書編委會.SuperMap iServer Java 從入門到精通[M].北京:清華大學出版社,2012.
[6] 周玲芳,李長云,胡淑新,等.基于HTML5的WebGIS實時客戶端設計[J].微型機與應用,2015,34(16):66-69.
[7] 谷偉.基于HTML5 Canvas的客戶端圖表技術研究[J].信息技術,2013(9):107-110.
[8] ZHU G, ZHANG F, ZHU W, et al. HTML5 based media player for real-time video surveillance[C].Image and Signal Processing (CISP), 2012 5th International Congress on. IEEE, 2012: 245-248.
[9] 黃雄.基于HTML5的視頻傳輸技術研究[J].廣東技術師范學院學報,2014(11):20-25.
[10] 雷忠誠,胡文山,鄔靜陽,等.基于Web的3D智能家居系統設計與實現[J].電子技術應用,2014,40(9):114-117.
Interface design and development of WebGIS based on HTML5/JavaScript
Li Jingying1,2,Wang Fangxiong1,2,Hou Yingzi1,2,Zhang Chuang3
(1. Liaoning Key Laboratory of Physical Geography and Geomatics, Liaoning Normal University, Dalian 116029, China;2. School of Urban and Environmental Sciences, Liaoning Normal University, Dalian 116029, China;3. Hangzhou JiAo Geographical Information Technology Co. Ltd., Hangzhou 310012, China)
We designed and developed a function interface of WebGIS based on HTML5 and JavaScript. Using the elements of HTML5 such as
,
and - , we designed and implemented the multi-level function menu and the query result display window, and optimized the method of vector plotting and video playing in the Web browser by the elements like Canvas, Audio and Video. Combined with JavaScript and JavaScript API of SuperMap iClient, a rich dynamic interface, like the popup window, popping bubble, and so on were implemented. The interface is natural and beautiful ,shorten response time, smooth operation, and it can improve user experience.
HTML5; JavaScript; WebGIS; interface design
TP23
A
1674-7720(2016)07- 0019- 03
李晶瑩,王方雄,侯英姿,等. 基于HTML5/JavaScript的WebGIS功能界面設計與開發[J].微型機與應用,2016,35(7):19-21.
2015-12-26)
李晶瑩(1992-),女,碩士研究生,主要研究方向:WebGIS研究與開發。
王方雄(1973-),通訊作者,男,博士,副教授,主要研究方向:WebGIS、GIS建模與集成研究。E-mail:wfxwhu@163.com。
侯英姿(1974-),女,博士,講師,主要研究方向:GIS建模與技術應用研究。