<?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 Prevent MapView rotation during SketchEdit? in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/prevent-mapview-rotation-during-sketchedit/m-p/250091#M1626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using ArcGIS 100.4.0 Android SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BACKGROUND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm developing an app that does not allow map rotation. (BTW, my map is offline&amp;nbsp;- loaded from a locally stored mmpk.) I'm able to achieve this by setting my MapView's onTouchListener to be an extension of the&amp;nbsp;DefaultMapViewOnTouchListener where I've overridden&amp;nbsp;onRotate() to always return true. This works except when interacting with the SketchEditor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROBLEM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm using the SketchEditor to capture user input on my MapView. During sketch sessions (i.e., after my instance of&amp;nbsp;&lt;/P&gt;&lt;P&gt;SketchEditor's start(...) method has been called) my map suddenly allows two finger rotations of the map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QUESTION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can stop the SketchEditor from allowing my MapView to be rotated?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2018 15:15:19 GMT</pubDate>
    <dc:creator>CharlesLoftis</dc:creator>
    <dc:date>2018-11-08T15:15:19Z</dc:date>
    <item>
      <title>Prevent MapView rotation during SketchEdit?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/prevent-mapview-rotation-during-sketchedit/m-p/250091#M1626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using ArcGIS 100.4.0 Android SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BACKGROUND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm developing an app that does not allow map rotation. (BTW, my map is offline&amp;nbsp;- loaded from a locally stored mmpk.) I'm able to achieve this by setting my MapView's onTouchListener to be an extension of the&amp;nbsp;DefaultMapViewOnTouchListener where I've overridden&amp;nbsp;onRotate() to always return true. This works except when interacting with the SketchEditor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROBLEM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm using the SketchEditor to capture user input on my MapView. During sketch sessions (i.e., after my instance of&amp;nbsp;&lt;/P&gt;&lt;P&gt;SketchEditor's start(...) method has been called) my map suddenly allows two finger rotations of the map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QUESTION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How can stop the SketchEditor from allowing my MapView to be rotated?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 15:15:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/prevent-mapview-rotation-during-sketchedit/m-p/250091#M1626</guid>
      <dc:creator>CharlesLoftis</dc:creator>
      <dc:date>2018-11-08T15:15:19Z</dc:date>
    </item>
  </channel>
</rss>

