AnsweredAssumed Answered

Error: Conversion of one or more geometries failed. Please check whether input is valid. Invalid argument

Question asked by efcom1 on May 7, 2016
Latest reply on May 17, 2016 by sgill-esristaff

I'm trying to convert a Point to anything else but every function i use gives me the same error:

Error: Conversion of one or more geometries failed. Please check whether input is valid. Invalid argument

Point identifyPoint = mapview.toMapPoint(e.getX(), e.getY()); 
String s = CoordinateConversion.pointToDecimalDegrees(identifyPoint, mapview.getSpatialReference(), 2);

This is the code i'm using, What am i doing wrong here?

Outcomes