AnsweredAssumed Answered

Coordinates WGS84 self.mapView.visibleAreaEnvelope.center.x

Question asked by Maursalazar on May 18, 2014
Latest reply on May 26, 2014 by Maursalazar
Hi, i am trying to show the wgs84 coordinates at center of:

LongCentro.text = [NSString stringWithFormat:@"Long: %.4f", self.mapView.visibleAreaEnvelope.center.x];

with this obtain in other spatial reference but i try to transform to wgs84,

LatCentro.text = [NSString stringWithFormat:@"Long: %.4f", [mapView visibleAreaEnvelope].center.y spatialReference:WKID_WGS_1984_WEB_MERCATOR];

but is wrong!

Thanks for the answers.

Outcomes