laptop and a wrench

Bug

'Map does not get panned after using freehand and Polyline drawing tool in ArcGIS Javascript API 3.1'

Last Published: August 25, 2014 ArcGIS Server (Java)
Bug ID Number NIM084702
SubmittedSeptember 13, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS Server (Java)
Version found10.0
Program languageJavaScript
Operating SystemWindows OS
Operating System Version7 64 Bit
StatusDuplicate

Additional Information

Duplicate of NIM084062 which is resolved at version 3.2

Workaround

Reason for this bug: In the esri.toolbars.Draw deactivate(), all handles to map event connections are disconnected, but not set to null. As a result, following the above workflow will manipulate the dojo event function linked list in a faulty way. Have set up a JSFiddle to show this effect: <a href="http://jsfiddle.net/idleWombat/7Q5pN/" target="_blank">http://jsfiddle.net/idleWombat/7Q5pN/</a> Calling a dojo.disconnect on a connect handle twice without setting the handle to null, and if there are other connections added after the first disconnect, these additional connects will get lost. Solution: The solution is to set all the handles to null after the disconnects in the esri.toolbars.Draw deactivate().

Steps to Reproduce

Bug ID: NIM084702

Software:

  • ArcGIS Server (Java)

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