AnsweredAssumed Answered

API 3.3 Measurement widget and wkid

Question asked by mattlane86 on Jan 15, 2013
Latest reply on Jan 15, 2013 by mattlane86
I've updated an app to vs 3.3 and am getting the following error with the measurement widget:
Uncaught TypeError: Cannot read property 'wkid' of undefined Measurement.js:19

I'm guessing the issue may lie with the basemap and all layers not being in web mercator, so I made a jsfiddle from the "Set custom extent and spatial reference" sample merged with the Measurement widget sample and got the same error.

http://jsfiddle.net/efx8L/

It sounds like the issue from a past version of the api might be back
http://forums.arcgis.com/threads/30762-implement-measurement-widget-(version-2.3)-to-a-different-wkid?highlight=measurement+widget

Outcomes