Legend service does not return the legend image if the application uses a proxy page and the application is viewed using Internet Explorer 8.
上次发布: May 17, 2019No Product Found
漏洞 ID 编号
NIM080563
已提交
May 3, 2012
上次修改时间
April 2, 2025
适用范围
No Product Found
找到的版本
2.8
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No plans to address at unsupported version.
解决办法
Use Internet Explorer 9 instead, or modify the Legend.xd.js file to include the following changes:Currently:if(_46.url.indexOf("http")!==0){src=_48.url+"/"+_49+"/images/"+_46.url;It must be:if(_46.url.indexOf("http")!==0){if (<a href="http://esri.config.defaults.io" target="_blank">esri.config.defaults.io</a>.proxyUrl)src = <a href="http://esri.config.defaults.io" target="_blank">esri.config.defaults.io</a>.proxyUrl+"?"+_48.url+"/"+_49+"/images/"+_46.url;elsesrc=_48.url+"/"+_49+"/images/"+_46.url;