<?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 How to keep graphics not moving when map zoom or pan in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-keep-graphics-not-moving-when-map-zoom-or/m-p/1148986#M5697</link>
    <description>&lt;P&gt;Want to create the function as Uber, to create the pick up place and drag the map as background. While the location of the graphic keeping not change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="drag the map and location point keep fixed position" style="width: 112px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/35455i945567BC3936E188/image-size/small?v=v2&amp;amp;px=200" role="button" title="2022-03-01_10-50-34.gif" alt="drag the map and location point keep fixed position" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;drag the map and location point keep fixed position&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2022 02:16:31 GMT</pubDate>
    <dc:creator>baohuachu2</dc:creator>
    <dc:date>2022-03-03T02:16:31Z</dc:date>
    <item>
      <title>How to keep graphics not moving when map zoom or pan</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-keep-graphics-not-moving-when-map-zoom-or/m-p/1148986#M5697</link>
      <description>&lt;P&gt;Want to create the function as Uber, to create the pick up place and drag the map as background. While the location of the graphic keeping not change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="drag the map and location point keep fixed position" style="width: 112px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/35455i945567BC3936E188/image-size/small?v=v2&amp;amp;px=200" role="button" title="2022-03-01_10-50-34.gif" alt="drag the map and location point keep fixed position" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;drag the map and location point keep fixed position&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 02:16:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-keep-graphics-not-moving-when-map-zoom-or/m-p/1148986#M5697</guid>
      <dc:creator>baohuachu2</dc:creator>
      <dc:date>2022-03-03T02:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to keep graphics not moving when map zoom or pan</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-keep-graphics-not-moving-when-map-zoom-or/m-p/1150752#M5700</link>
      <description>&lt;P&gt;Hi, if I understand correctly, you would like to show a static pushpin on top of a MapView and when the user stops panning the MapView, you want to determine the location on the map where the pushpin points to and then do some action based on that map location? If that's correct, I have the following suggestions:&lt;BR /&gt;&lt;BR /&gt;1. The Runtime SDK for Android does not provide support for showing that static pushpin. You will have to implement a UI layout that overlays some pushpin View element on top of the MapView. You will have to make sure that the pushpin View element is not clickable, so that the touch events are still received by the underlying MapView, so that users can still pan the map.&lt;BR /&gt;&lt;BR /&gt;2. Once the user stops panning the map, you would want to use the screen location of your pushpin and convert that to the corresponding map location. You can use the &lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/mapping/view/MapView.html#screenToLocation(android.graphics.Point)" target="_self"&gt;MapView.screenToLocation()&lt;/A&gt; call for that.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 17:20:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-keep-graphics-not-moving-when-map-zoom-or/m-p/1150752#M5700</guid>
      <dc:creator>GuntherHeppner</dc:creator>
      <dc:date>2022-03-04T17:20:12Z</dc:date>
    </item>
  </channel>
</rss>

