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?
What is the current spatialreference of the mapview?
Please ensure that mapview.getSpatialReference() is not returning null. that could also cause problem.