<?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 Disable rotation events but rotate by script in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disable-rotation-events-but-rotate-by-script/m-p/424094#M39015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In JS API 4.9 it was possible to disable the rotation events on a MapView by setting the rotationEnabled constraint to false. This resulted in the user not being able to rotate the map, but&amp;nbsp;it was still possible to change the rotation by script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 4.10 setting the rotationEnabled constraint prevents setting the rotation by script also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug or as designed?&amp;nbsp;&lt;BR /&gt;Especially on (smaller) mobile devices users are often accidentially rotating the map, e.g.&amp;nbsp;on zooming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we&amp;nbsp;prevent&amp;nbsp;the user rotating the map but being able to still set&amp;nbsp;the mapview rotation property?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Mar 2019 09:27:22 GMT</pubDate>
    <dc:creator>RomanKönig</dc:creator>
    <dc:date>2019-03-22T09:27:22Z</dc:date>
    <item>
      <title>Disable rotation events but rotate by script</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disable-rotation-events-but-rotate-by-script/m-p/424094#M39015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In JS API 4.9 it was possible to disable the rotation events on a MapView by setting the rotationEnabled constraint to false. This resulted in the user not being able to rotate the map, but&amp;nbsp;it was still possible to change the rotation by script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 4.10 setting the rotationEnabled constraint prevents setting the rotation by script also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug or as designed?&amp;nbsp;&lt;BR /&gt;Especially on (smaller) mobile devices users are often accidentially rotating the map, e.g.&amp;nbsp;on zooming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we&amp;nbsp;prevent&amp;nbsp;the user rotating the map but being able to still set&amp;nbsp;the mapview rotation property?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 09:27:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disable-rotation-events-but-rotate-by-script/m-p/424094#M39015</guid>
      <dc:creator>RomanKönig</dc:creator>
      <dc:date>2019-03-22T09:27:22Z</dc:date>
    </item>
  </channel>
</rss>

