<?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: Graphic Points in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/graphic-points/m-p/1061239#M5503</link>
    <description>&lt;P&gt;Graphics are for representation of the features. For accurate distance measurements, you should convert them to the map's spatial coordinates and calculate them. I see that you already have the map coordinates. If you want screenCoordinates (i.e coordinates from touch events) converted to map's spatial coordinates then you use the &lt;EM&gt;&lt;STRONG&gt;geoView.screenTolocation.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;Here are some samples that showcase converting screen coordinates to map coordinates.&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/search?q=screenToLocation" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-android/search?q=screenToLocation&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 May 2021 06:06:57 GMT</pubDate>
    <dc:creator>RamaChintapalli</dc:creator>
    <dc:date>2021-05-25T06:06:57Z</dc:date>
    <item>
      <title>Graphic Points</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/graphic-points/m-p/1059899#M5499</link>
      <description>&lt;P&gt;I am using below code to draw line over map to calculate distance, But facing challenge as coordinates do not returning accurate value till 7 digits.&lt;/P&gt;&lt;P&gt;mapCenterLongitude and mapCenterLatitude returns values in decimal till 7 digits, but when passed to Graphics() the last digit of coordinates cuts down and returns back only 6 digits&lt;/P&gt;&lt;P&gt;val startPoints= Point(mapCenterLongitude!!.toDouble(), mapCenterLatitude!!.toDouble(), srWgs84) val locationMarker= SimpleMarkerSymbol(SimpleMarkerSymbol.Style.CIRCLE, 0xFF0000FF.toInt(), 10f)&lt;/P&gt;&lt;P&gt;val startLocation = Graphic(startPoints, locationMarker)&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 13:21:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/graphic-points/m-p/1059899#M5499</guid>
      <dc:creator>Amitkhillan</dc:creator>
      <dc:date>2021-05-20T13:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Graphic Points</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/graphic-points/m-p/1061239#M5503</link>
      <description>&lt;P&gt;Graphics are for representation of the features. For accurate distance measurements, you should convert them to the map's spatial coordinates and calculate them. I see that you already have the map coordinates. If you want screenCoordinates (i.e coordinates from touch events) converted to map's spatial coordinates then you use the &lt;EM&gt;&lt;STRONG&gt;geoView.screenTolocation.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;Here are some samples that showcase converting screen coordinates to map coordinates.&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/search?q=screenToLocation" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-android/search?q=screenToLocation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 06:06:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/graphic-points/m-p/1061239#M5503</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2021-05-25T06:06:57Z</dc:date>
    </item>
  </channel>
</rss>

