<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Coordinates WGS84 self.mapView.visibleAreaEnvelope.center.x in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/coordinates-wgs84-self-mapview-visibleareaenvelope/m-p/744650#M6715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, i am trying to show the wgs84 coordinates at center of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LongCentro.text = [NSString stringWithFormat:@"Long: %.4f", self.mapView.visibleAreaEnvelope.center.x];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with this obtain in other spatial reference but i try to transform to wgs84, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LatCentro.text = [NSString stringWithFormat:@"Long: %.4f", [mapView visibleAreaEnvelope].center.y spatialReference:WKID_WGS_1984_WEB_MERCATOR];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but is wrong!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the answers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 May 2014 23:30:37 GMT</pubDate>
    <dc:creator>MauricioSalazar</dc:creator>
    <dc:date>2014-05-18T23:30:37Z</dc:date>
    <item>
      <title>Coordinates WGS84 self.mapView.visibleAreaEnvelope.center.x</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/coordinates-wgs84-self-mapview-visibleareaenvelope/m-p/744650#M6715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, i am trying to show the wgs84 coordinates at center of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LongCentro.text = [NSString stringWithFormat:@"Long: %.4f", self.mapView.visibleAreaEnvelope.center.x];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with this obtain in other spatial reference but i try to transform to wgs84, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LatCentro.text = [NSString stringWithFormat:@"Long: %.4f", [mapView visibleAreaEnvelope].center.y spatialReference:WKID_WGS_1984_WEB_MERCATOR];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but is wrong!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the answers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 23:30:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/coordinates-wgs84-self-mapview-visibleareaenvelope/m-p/744650#M6715</guid>
      <dc:creator>MauricioSalazar</dc:creator>
      <dc:date>2014-05-18T23:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates WGS84 self.mapView.visibleAreaEnvelope.center.x</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/coordinates-wgs84-self-mapview-visibleareaenvelope/m-p/744651#M6716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If your map is not in WGS84 spatial reference, you need to project the center point of the map's visible area first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSGeometryEngine* engine = [AGSGeometryEngine defaultGeometryEngine]; &amp;nbsp;&amp;nbsp;&amp;nbsp; AGSPoint* mapPoint = self.mapView.visibleAreaEnvelope.center; &amp;nbsp;&amp;nbsp;&amp;nbsp; AGSPoint* wgs84Point = (AGSPoint*)[engine projectGeometry:mapPoint toSpatialReference:[AGSSpatialReference wgs84SpatialReference]]; LongCentro.text = [NSString stringWithFormat:@"Long: %.4f", wgs84Point.x];&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 15:05:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/coordinates-wgs84-self-mapview-visibleareaenvelope/m-p/744651#M6716</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2014-05-23T15:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Coordinates WGS84 self.mapView.visibleAreaEnvelope.center.x</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/coordinates-wgs84-self-mapview-visibleareaenvelope/m-p/744652#M6717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, is exactly that looking for!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 16:09:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/coordinates-wgs84-self-mapview-visibleareaenvelope/m-p/744652#M6717</guid>
      <dc:creator>MauricioSalazar</dc:creator>
      <dc:date>2014-05-26T16:09:11Z</dc:date>
    </item>
  </channel>
</rss>

