MeasureAction throws NotSupportedException when using DecimalDegrees

2352
1
09-21-2014 12:53 PM
Labels (1)
PhilipCollier
New Contributor II

Hi all,

I'm using the MeasureAction in the code-behind so that I can configure the unit types with a dialog. I seem to be having a problem when I set the distance unit to decimal degrees.  A NotSupportedException is thrown when I try to measure in this unit.  Has anyone else experienced this or know a solution to get this working?

Many thanks,

Phil.

0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor

Hi Phil,

Do you mind sharing your code? I could not reproduce the issue. DecimalDegrees is a supported unit: ArcGIS Runtime SDK for Microsoft WPF - Library Reference . I had just tried changing MapUnit of PolylineMeasure in this SDK sample. ArcGIS API for Silverlight - Interactive Samples | ArcGIS for Developers

0 Kudos