• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:万研新,刘 鑫,王作兵.ArcGIS API For JavaScript无法加载ArcGIS Server 地图服务的原因及对策[J].软件工程,2020,23(3):49-52.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
ArcGIS API For JavaScript无法加载ArcGIS Server 地图服务的原因及对策
万研新,刘 鑫,王作兵
(中国人民解放军63601部队,甘肃 酒泉 735000)
摘 要: 采用美国Esri公司地理信息系统二次开发工具包ArcGIS API for JavaScript,加载ArcGIS Serve地图服 务时,常出现浏览器端不能显示地图的问题,针对该问题,本文从浏览器控制台调试信息入手,采用敏感信息关联法, 结合客户端、服务器端和浏览器端各自特点进行了深入分析和研究,得出当使用HTTPS协议访问服务器时,自签名证 书不能通过浏览器安全验证是导致问题的主要原因,基于该分析通过采用HTTP协议和禁止浏览器警告的方法解决了问 题,并针对三款主流浏览器给出了具体的方法和步骤。
关键词: Esri;ArcGIS;地理信息系统;JavaScript;地图
中图分类号: TP274    文献标识码: A
The Reasons for the ArcGIS API For JavaScript cannot Load ArcGIS Server Map Service and the Countermeasures
WAN Yanxin,LIU Xin,WANG Zuobin
( The Unit 63601 of the PLA, Jiuquan 735000, China)
Abstract: When adopting the ArcGIS API For Javascript,which is the second development kit of the geographic information system from American ESRI company,to load the ArcGIS Server map service,the problem that the browser cannot display the map often occurs.In order to solve this problem,this paper starts with the debugging information of browser console,uses the sensitive information association method,considers the characteristics of the client,the server and the browser,and conducts in-depth analysis and studies.It is concluded that when using the HTTPS protocol to access the server,the main cause for the problem is that the self-signed certification cannot pass the browser security verification.Based on this analysis,this paper solved the problem by using the HTTP protocol and forbidding browser warning.Specific methods and steps are given for three mainstream browsers.
Keywords: Esri;ArcGIS;geographic information system;javascript;map


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫