<?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: find string value (place name )  of coordinates..? in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/find-string-value-place-name-of-coordinates/m-p/303362#M2025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The documentation I sent you is for runtime 100 which is the newer version of the runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside your onSingleTap override, do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the toMapPoint method of the mapview, convert the screen point (x,y) to map coordinates :&lt;BR /&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/android/map/MapView.html#toMapPoint(com.esri.core.geometry.Point)" title="https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/android/map/MapView.html#toMapPoint(com.esri.core.geometry.Point)"&gt;MapView | ArcGIS Android 10.2.9 API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use reverse geocoding to generate an address / place name:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/core/tasks/geocode/Locator.html#reverseGeocode(com.esri.core.geometry.Point, double, com.esri.core.geometry.SpatialReference, com.esri.core.geometry.SpatialReference)"&gt;https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/core/tasks/geocode/Locator.html#reverseGeocode(com.esri.core.geometry.Point, double, com.esri.core.geometry.SpatialReference, com.esri.core.geometry.SpatialReference)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Sep 2017 13:48:43 GMT</pubDate>
    <dc:creator>AlexanderNohe1</dc:creator>
    <dc:date>2017-09-08T13:48:43Z</dc:date>
    <item>
      <title>find string value (place name )  of coordinates..?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/find-string-value-place-name-of-coordinates/m-p/303358#M2021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to display name of the place where i touch on map instead of displaying coordinates..&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 16:17:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/find-string-value-place-name-of-coordinates/m-p/303358#M2021</guid>
      <dc:creator>Radheshsoni</dc:creator>
      <dc:date>2017-09-07T16:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: find string value (place name )  of coordinates..?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/find-string-value-place-name-of-coordinates/m-p/303359#M2022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Extend the DefaultMapViewTouchListener (&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fandroid%2Flatest%2Fapi-reference%2Freference%2Fcom%2Fesri%2Farcgisruntime%2Fmapping%2Fview%2FDefaultMapViewOnTouchListener.html" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; font-size: 14px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;DefaultMapViewOnTouchListener| arcgis-android&lt;/A&gt;&amp;nbsp;) and then override the onLongPress(MotionEvent event) method to include the details in grabbing the location. Get the physical x, y of the location and use MapView.screenToLocation(point) and take that point and use it in the reverse geocode to change that point to an address.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 16:32:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/find-string-value-place-name-of-coordinates/m-p/303359#M2022</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-09-07T16:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: find string value (place name )  of coordinates..?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/find-string-value-place-name-of-coordinates/m-p/303360#M2023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Sir i am not getting you.&amp;nbsp;&lt;BR /&gt;Can you share a example/Source Code for arcgis 10.2.9 android sdk ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 09:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/find-string-value-place-name-of-coordinates/m-p/303360#M2023</guid>
      <dc:creator>Radheshsoni</dc:creator>
      <dc:date>2017-09-08T09:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: find string value (place name )  of coordinates..?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/find-string-value-place-name-of-coordinates/m-p/303361#M2024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #808000; border: 0px; font-weight: inherit; font-size: 12px;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 12px;"&gt;public void &lt;/SPAN&gt;onSingleTap(&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 12px;"&gt;float &lt;/SPAN&gt;x, &lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 12px;"&gt;float &lt;/SPAN&gt;y) {

unable to pass onSingleTap(MotionEvent point){&lt;/PRE&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;what should i do ???&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;i am using arcgis 10.2.9 android sdk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:32:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/find-string-value-place-name-of-coordinates/m-p/303361#M2024</guid>
      <dc:creator>Radheshsoni</dc:creator>
      <dc:date>2021-12-11T14:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: find string value (place name )  of coordinates..?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/find-string-value-place-name-of-coordinates/m-p/303362#M2025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The documentation I sent you is for runtime 100 which is the newer version of the runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside your onSingleTap override, do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the toMapPoint method of the mapview, convert the screen point (x,y) to map coordinates :&lt;BR /&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/android/map/MapView.html#toMapPoint(com.esri.core.geometry.Point)" title="https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/android/map/MapView.html#toMapPoint(com.esri.core.geometry.Point)"&gt;MapView | ArcGIS Android 10.2.9 API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use reverse geocoding to generate an address / place name:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/core/tasks/geocode/Locator.html#reverseGeocode(com.esri.core.geometry.Point, double, com.esri.core.geometry.SpatialReference, com.esri.core.geometry.SpatialReference)"&gt;https://developers.arcgis.com/android/10-2/api-reference/reference/com/esri/core/tasks/geocode/Locator.html#reverseGeocode(com.esri.core.geometry.Point, double, com.esri.core.geometry.SpatialReference, com.esri.core.geometry.SpatialReference)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 13:48:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/find-string-value-place-name-of-coordinates/m-p/303362#M2025</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-09-08T13:48:43Z</dc:date>
    </item>
  </channel>
</rss>

