<?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: Getting Longitude and Latitude in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/getting-longitude-and-latitude/m-p/479441#M12375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The 'Show Map Coordinates' sample (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MouseCoords"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MouseCoords&lt;/A&gt;&lt;SPAN&gt;) is doing that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically you have to call GetPosition to get the position relative to the map and then ScreenToMap to get the position in the map coordinates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionaly if your map spatial reference is not geographic, you may have to convert to geographical coordinates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2011 06:35:44 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2011-04-11T06:35:44Z</dc:date>
    <item>
      <title>Getting Longitude and Latitude</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/getting-longitude-and-latitude/m-p/479440#M12374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone, im new to using this ArcGIS tool and i was wondering how you could retreive longitude and latitude information by using screen coordinates (for example a user clicks somewhere and the longitude and latitude of that point are shown). I have tried using ScreenToMap() but it seems to be returning bad results for me (i think its returning the X and Y coordinates relative to the entire map). Any help would be appreciated. Thanks guys! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2011 16:44:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/getting-longitude-and-latitude/m-p/479440#M12374</guid>
      <dc:creator>MichaelAquilina</dc:creator>
      <dc:date>2011-04-09T16:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Longitude and Latitude</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/getting-longitude-and-latitude/m-p/479441#M12375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The 'Show Map Coordinates' sample (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MouseCoords"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MouseCoords&lt;/A&gt;&lt;SPAN&gt;) is doing that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically you have to call GetPosition to get the position relative to the map and then ScreenToMap to get the position in the map coordinates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionaly if your map spatial reference is not geographic, you may have to convert to geographical coordinates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 06:35:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/getting-longitude-and-latitude/m-p/479441#M12375</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-04-11T06:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Longitude and Latitude</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/getting-longitude-and-latitude/m-p/479442#M12376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The 'Show Map Coordinates' sample (&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MouseCoords"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#MouseCoords&lt;/A&gt;) is doing that.&lt;BR /&gt;Basically you have to call GetPosition to get the position relative to the map and then ScreenToMap to get the position in the map coordinates.&lt;BR /&gt; &lt;BR /&gt;Additionaly if your map spatial reference is not geographic, you may have to convert to geographical coordinates.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, thanks for your reply&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was aware of being able to convert screen coordinates to map coordinates, however i cant seem to figure out how to change those map coordinates to appropriate latitude and longitude values. Would this be what your referring to when talking about changing my spatial reference? How would i be able to do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Apr 2011 11:14:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/getting-longitude-and-latitude/m-p/479442#M12376</guid>
      <dc:creator>MichaelAquilina</dc:creator>
      <dc:date>2011-04-16T11:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Longitude and Latitude</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/getting-longitude-and-latitude/m-p/479443#M12377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok i seem to have figured it out. The MapPoint class contains helper methods for changing back and forth between the Geographic and WebMercator Spatial References&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Point.WebMercatorToGeographic();&amp;nbsp;&amp;nbsp;&amp;nbsp; //to longitude and latitude&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Point.GeographicToWebMercator();&amp;nbsp;&amp;nbsp;&amp;nbsp; //to web mercator&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 08:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/getting-longitude-and-latitude/m-p/479443#M12377</guid>
      <dc:creator>MichaelAquilina</dc:creator>
      <dc:date>2011-04-17T08:35:28Z</dc:date>
    </item>
  </channel>
</rss>

