<?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: Get device coordinates in Xamarin forms in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/get-device-coordinates-in-xamarin-forms/m-p/738782#M9256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems to do exactly what I was looking for.Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2017 18:05:34 GMT</pubDate>
    <dc:creator>MarkCollins</dc:creator>
    <dc:date>2017-11-02T18:05:34Z</dc:date>
    <item>
      <title>Get device coordinates in Xamarin forms</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/get-device-coordinates-in-xamarin-forms/m-p/738780#M9254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the runtime in Xamarin forms and wanted to know if there is any way to easily get the current device location with out actually creating a map view?&amp;nbsp; &amp;nbsp;I am familiar with using the LocationDisplay class (&lt;A class="link-titled" href="https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/master/src/Forms/Shared/Samples/Location/DisplayDeviceLocation" title="https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/master/src/Forms/Shared/Samples/Location/DisplayDeviceLocation"&gt;arcgis-runtime-samples-dotnet/src/Forms/Shared/Samples/Location/DisplayDeviceLocation at master · Esri/arcgis-runtime-sa…&lt;/A&gt;&amp;nbsp;) to show the users location on the map but I would like to just get the coordinates without displaying the map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user presses a button on my form I would like to get the x/y for the users current location and save it to my database. I do not need to actually display a map at the time the user is clicking the button. I know its possible to use a xamarin plugin such as this:&lt;A class="link-titled" href="https://www.nuget.org/packages/Xam.Plugin.Geolocator/" title="https://www.nuget.org/packages/Xam.Plugin.Geolocator/"&gt;NuGet Gallery | Xam.Plugin.Geolocator 4.1.2&lt;/A&gt;&amp;nbsp;&amp;nbsp; but I would really like to avoid adding another nuget package to my project since the the ArcGIS runtime is obviously capable of getting the device coordinates to display on the map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 00:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/get-device-coordinates-in-xamarin-forms/m-p/738780#M9254</guid>
      <dc:creator>MarkCollins</dc:creator>
      <dc:date>2017-11-01T00:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get device coordinates in Xamarin forms</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/get-device-coordinates-in-xamarin-forms/m-p/738781#M9255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to use the &lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/android/api-reference//html/T_Esri_ArcGISRuntime_Location_SystemLocationDataSource.htm" title="https://developers.arcgis.com/net/latest/android/api-reference//html/T_Esri_ArcGISRuntime_Location_SystemLocationDataSource.htm"&gt;SystemLocationDataSource class&lt;/A&gt;.&amp;nbsp; Just instantiate it, call StartAsync, and subscribe to the LocationChanged event to listen for location changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 18:30:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/get-device-coordinates-in-xamarin-forms/m-p/738781#M9255</guid>
      <dc:creator>RichZwaap</dc:creator>
      <dc:date>2017-11-01T18:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get device coordinates in Xamarin forms</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/get-device-coordinates-in-xamarin-forms/m-p/738782#M9256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems to do exactly what I was looking for.Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 18:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/get-device-coordinates-in-xamarin-forms/m-p/738782#M9256</guid>
      <dc:creator>MarkCollins</dc:creator>
      <dc:date>2017-11-02T18:05:34Z</dc:date>
    </item>
  </channel>
</rss>

