<?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 Re: map point lat/long coordinate system in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-point-lat-long-coordinate-system/m-p/277828#M6536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Asif,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a Flex Viewer and/or Widget question than you need to post to the Flex Viewer forum and not here in the general Flex API forum:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; It is a matter of what WKID (spatial Reference) the map service that is first loaded into the map is in. The Map Service you referenced in your post is in NAD_1983_StatePlane_Michigan_South_FIPS_2113_IntlFeet so it is not going to display Lat Lon when it is in State Plane Feet. Most of the common base maps are in 102100 Web mercator which is meters and not decimal degrees either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want the MapPoint to be in decimal degrees lat, lon than you have to have WKID: 4326, WGS 1984 Geographic basemaps like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2012 23:15:56 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2012-04-27T23:15:56Z</dc:date>
    <item>
      <title>map point lat/long coordinate system</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-point-lat-long-coordinate-system/m-p/277827#M6535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I imported flex viewer based application in flex that used some local map service. In this application the latitude and longitude are accessed using mappoint.y and mappoint.x, but when i imported this application in some other system and used following map service&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer" rel="nofollow" target="_blank"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here mappoint.y and mappoint.x donot displays latitude and longitude values, instead it displays a large number. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In existing application map point are accessed using MapMouseClick event as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var mapPoint:MapPoint=map.toMapFromStage(event.stageX, event.stageY);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where mapPoint.y should display longitude and mapPoint.x should display latitude. Should I change map service in flex viewer or what else without any change in my application. Is it problem of map service? if yes, then what map service should I use without any change in application code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 19:36:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-point-lat-long-coordinate-system/m-p/277827#M6535</guid>
      <dc:creator>AsifNawaz</dc:creator>
      <dc:date>2012-04-27T19:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: map point lat/long coordinate system</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-point-lat-long-coordinate-system/m-p/277828#M6536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Asif,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a Flex Viewer and/or Widget question than you need to post to the Flex Viewer forum and not here in the general Flex API forum:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; It is a matter of what WKID (spatial Reference) the map service that is first loaded into the map is in. The Map Service you referenced in your post is in NAD_1983_StatePlane_Michigan_South_FIPS_2113_IntlFeet so it is not going to display Lat Lon when it is in State Plane Feet. Most of the common base maps are in 102100 Web mercator which is meters and not decimal degrees either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want the MapPoint to be in decimal degrees lat, lon than you have to have WKID: 4326, WGS 1984 Geographic basemaps like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 23:15:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/map-point-lat-long-coordinate-system/m-p/277828#M6536</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-04-27T23:15:56Z</dc:date>
    </item>
  </channel>
</rss>

