AGSPoint* gpsPoint = [[AGSPoint alloc] initWithX:location.coordinate.longitude y:location.coordinate.latitude spatialReference:[AGSSpatialReference wgs84SpatialReference]]; AGSGeometryEngine* engine = [AGSGeometryEngine defaultGeometryEngine]; AGSPoint* mapPoint = (AGSPoint*) [engine projectGeometry:gpsPoint toSpatialReference:self.mapView.spatialReference];
Solved! Go to Solution.
double x =mapPoint.x; double y =mapPoint.y;
double x =mapPoint.x; double y =mapPoint.y;