AGSGeometryEngine* engine = [AGSGeometryEngine defaultGeometryEngine]; AGSPoint* mapPoint = self.mapView.visibleAreaEnvelope.center; AGSPoint* wgs84Point = (AGSPoint*)[engine projectGeometry:mapPoint toSpatialReference:[AGSSpatialReference wgs84SpatialReference]]; LongCentro.text = [NSString stringWithFormat:@Long: %.4f, wgs84Point.x];
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.