laptop and a wrench

Bug

Rectangle Extents are not correctly passed when drawing a rectangle on the map.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM011052
SubmittedAugust 17, 2007
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Program languageVB.Net
StatusWill Not Be Addressed

Additional Information

No Public Explanation

Workaround

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.

Steps to Reproduce

Bug ID: NIM011052

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options