<?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 Override MapView Gestures in Kotlin Maps SDK Questions</title>
    <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/override-mapview-gestures/m-p/1373821#M329</link>
    <description>&lt;P&gt;The documentation of &lt;A href="https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.mapping.view/-map-view/index.html" target="_self"&gt;MapView&lt;/A&gt;&amp;nbsp;says that gestures like&amp;nbsp;&lt;SPAN&gt;pan, zoom, and rotate can be overriden. They are also marked as &lt;A href="https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.mapping.view/-map-view/index.html#896203407%2FProperties%2F-1844196645" target="_self"&gt;open&lt;/A&gt;. How can they be overriden when MapView is marked as final?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2024 10:29:22 GMT</pubDate>
    <dc:creator>mobileuser</dc:creator>
    <dc:date>2024-01-24T10:29:22Z</dc:date>
    <item>
      <title>Override MapView Gestures</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/override-mapview-gestures/m-p/1373821#M329</link>
      <description>&lt;P&gt;The documentation of &lt;A href="https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.mapping.view/-map-view/index.html" target="_self"&gt;MapView&lt;/A&gt;&amp;nbsp;says that gestures like&amp;nbsp;&lt;SPAN&gt;pan, zoom, and rotate can be overriden. They are also marked as &lt;A href="https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.mapping.view/-map-view/index.html#896203407%2FProperties%2F-1844196645" target="_self"&gt;open&lt;/A&gt;. How can they be overriden when MapView is marked as final?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 10:29:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/override-mapview-gestures/m-p/1373821#M329</guid>
      <dc:creator>mobileuser</dc:creator>
      <dc:date>2024-01-24T10:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Override MapView Gestures</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/override-mapview-gestures/m-p/1377382#M336</link>
      <description>&lt;P&gt;&amp;gt;&lt;SPAN&gt;The MapView comes with default gestures to allow users to pan, zoom, and rotate the map specific to each platform. Platforms also allow you to override these gestures with your own.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can override the mapview's default gesture implementation by calling Android(platform) View's setOnTouchListerner() and passing your own implementation for the OnTouchListener.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://developer.android.com/reference/kotlin/android/view/View#setOnTouchListener(android.view.View.OnTouchListener)" target="_blank"&gt;https://developer.android.com/reference/kotlin/android/view/View#setOnTouchListener(android.view.View.OnTouchListener)&lt;/A&gt;&lt;BR /&gt;You can do so in your code by calling&amp;nbsp;, mapView.setOnTouchListener()&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;They are also marked as &lt;A href="https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.mapping.view/-map-view/index.html#896203407%2FProperties%2F-1844196645" target="_self" rel="nofollow noopener noreferrer"&gt;open&lt;/A&gt;.&lt;BR /&gt;These are Events (s&lt;/SPAN&gt;&lt;SPAN&gt;haredFlows)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;which emit a particular gesture event and will not work if you override&amp;nbsp; mapview's default gesture implementation with your own.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 00:43:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/override-mapview-gestures/m-p/1377382#M336</guid>
      <dc:creator>PuneetPrakash</dc:creator>
      <dc:date>2024-02-02T00:43:22Z</dc:date>
    </item>
  </channel>
</rss>

