<?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: Change map coordinate to screen point(x-y) in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/change-map-coordinate-to-screen-point-x-y/m-p/580500#M7093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/2201"&gt;Nicholas Furness&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It work. Thank for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2019 03:22:02 GMT</pubDate>
    <dc:creator>MohamadFathin</dc:creator>
    <dc:date>2019-03-11T03:22:02Z</dc:date>
    <item>
      <title>Change map coordinate to screen point(x-y)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/change-map-coordinate-to-screen-point-x-y/m-p/580496#M7089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try search many tutorial on how can convert the map coordinate(Lat/Long) to screen coordinate but it seem i can't find any of it. I want to perform a traverse method for the map to plot a marker. Any suggestion and idea are much appreciate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2019 07:51:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/change-map-coordinate-to-screen-point-x-y/m-p/580496#M7089</guid>
      <dc:creator>MohamadFathin</dc:creator>
      <dc:date>2019-03-05T07:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change map coordinate to screen point(x-y)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/change-map-coordinate-to-screen-point-x-y/m-p/580497#M7090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/350574"&gt;Mohamad Fathin&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help? &lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference/html/M_Esri_ArcGISRuntime_UI_Controls_MapView_LocationToScreen.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference/html/M_Esri_ArcGISRuntime_UI_Controls_MapView_LocationToScreen.htm"&gt;MapView.LocationToScreen Method&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass in any MapPoint and you get a screen position relative ‌to the top-left corner of the MapView control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2019 13:34:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/change-map-coordinate-to-screen-point-x-y/m-p/580497#M7090</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2019-03-05T13:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change map coordinate to screen point(x-y)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/change-map-coordinate-to-screen-point-x-y/m-p/580498#M7091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/2201"&gt;Nicholas Furness&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try the reference you share.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;double longitude = 100.458802; //reference starting point&lt;BR /&gt; double latitude = 5.997545;&lt;/P&gt;&lt;P&gt;public Point LocationToScreen(MapPoint location)&lt;BR /&gt; {&lt;BR /&gt; location = new MapPoint(longitude,latitude, SpatialReferences.Wgs84);&lt;BR /&gt; return location;&lt;BR /&gt; }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But it get me this error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cannot implicitly convert type 'Esri.ArcGISRuntime.Geometry.MapPoint' to 'System.Windows.Point'&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fathin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2019 03:25:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/change-map-coordinate-to-screen-point-x-y/m-p/580498#M7091</guid>
      <dc:creator>MohamadFathin</dc:creator>
      <dc:date>2019-03-06T03:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change map coordinate to screen point(x-y)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/change-map-coordinate-to-screen-point-x-y/m-p/580499#M7092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I meant that you should call mapView.LocationToScreen, not write your own function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;double&lt;/SPAN&gt; longitude &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;100.458802&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//reference starting point&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;double&lt;/SPAN&gt; latitude &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;5.997545&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
location &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;MapPoint&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;longitude&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;latitude&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SpatialReferences&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Wgs84&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
screenPoint &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; mapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;LocationToScreen&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;location&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps I misunderstood your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/change-map-coordinate-to-screen-point-x-y/m-p/580499#M7092</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2021-12-12T00:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change map coordinate to screen point(x-y)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/change-map-coordinate-to-screen-point-x-y/m-p/580500#M7093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/2201"&gt;Nicholas Furness&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It work. Thank for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2019 03:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/change-map-coordinate-to-screen-point-x-y/m-p/580500#M7093</guid>
      <dc:creator>MohamadFathin</dc:creator>
      <dc:date>2019-03-11T03:22:02Z</dc:date>
    </item>
  </channel>
</rss>

