JS: Measuring distances and areas - Not working locally

Discussion created by shaningesri on Jul 18, 2011
Latest reply on Jul 19, 2011 by shaningesri
The script, provided by ESRI at, is a wonderful one.
I loaded the script and tried to run at my local unit. The drawing looks fine. However, unlike the demo there that the results display on the right panel, no result displays in my operation. I checked the function getAreaAndLength(geometry) { }. I suspected that it could be caused by the variables wmresults, utmresults and spresults, which are defined specifically. I wish the author can explain this Q, and provide the proper answer. Thanks.