Rectangle Extents are not correctly passed when drawing a rectangle on the map.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM011052
已提交
August 17, 2007
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.2
编程语言
VB.Net
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No Public Explanation
解决办法
1. Open the “Opp_Map_net” solution in VS2005.2. Create a “Javascript” folder in the solution.3. Set the “UseDefaultWebResources” property to false for the Map and the toolbar control4. Set the “WebResourceLocation” property to “http://<<server name>>/Opp_Map_net/Javascript/”5. Unzip the attached “Changed Javascript files.zip” and copy the following js files to the “Javascript” folder of the solutiona. display_common.jsb. display_vector.jsc. display_map.jsd. display_toolbar.jse. display_dotnetadf.js6. Add the following lines of code to the default.aspx page. Add this under the <body> tag:<script src="Javascript/display_common.js"></script><script src="Javascript/display_vector.js"></script><script src="Javascript/display_map.js"></script><script src="Javascript/display_toolbar.js"></script><script src="Javascript/display_dotnetadf.js"></script> After these changes, run the application and use the tool as mentioned in the above section.The box parameters are being passed correctly and the rectangle is correctly displayed on the map.The changes have been done in the “createClientPostBackQueryString” function of the display_dotnetadf.js file.The “ESRIWebADFHiddenFields” doesnot seems to get the correct values hence it has been changed to get the values from the Map control.