<?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: How to rotate a map on desktop pc? in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-rotate-a-map-on-desktop-pc/m-p/869113#M3258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On ArcGIS desktop you use the "Data Frame" toolbar to rotate the frame relative to the data.&lt;/P&gt;&lt;P&gt;But you are probably talking about some programmatic way of doing this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2015 07:35:53 GMT</pubDate>
    <dc:creator>NeilAyres</dc:creator>
    <dc:date>2015-09-30T07:35:53Z</dc:date>
    <item>
      <title>How to rotate a map on desktop pc?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-rotate-a-map-on-desktop-pc/m-p/869112#M3257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you rotate a map on a desktop pc (am using Windows)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On touch devices, there is a property that you can set to allow rotating the map by twisting using two fingers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic; color: #000000;"&gt;map&lt;/SPAN&gt;.rotationByPinchingEnabled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using a button that on clicked would set the map.rotation property which sort of works but ends up with a weird effect where the rectangle representing the map rotates leaving whitespace around the edge as per the attached screenshot. There must be another method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="maprotation.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/128946_maprotation.png" style="width: 620px; height: 203px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 07:16:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-rotate-a-map-on-desktop-pc/m-p/869112#M3257</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-09-30T07:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate a map on desktop pc?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-rotate-a-map-on-desktop-pc/m-p/869113#M3258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On ArcGIS desktop you use the "Data Frame" toolbar to rotate the frame relative to the data.&lt;/P&gt;&lt;P&gt;But you are probably talking about some programmatic way of doing this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 07:35:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-rotate-a-map-on-desktop-pc/m-p/869113#M3258</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2015-09-30T07:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate a map on desktop pc?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-rotate-a-map-on-desktop-pc/m-p/869114#M3259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use map.setRotation().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic; color: #000000;"&gt;map&lt;/SPAN&gt;.setMapRotation(&lt;SPAN style="font-style: italic; color: #000000;"&gt;map&lt;/SPAN&gt;.rotation&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;-&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;15,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;0,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how you go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 22:41:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-rotate-a-map-on-desktop-pc/m-p/869114#M3259</guid>
      <dc:creator>GarethWalters</dc:creator>
      <dc:date>2015-10-04T22:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate a map on desktop pc?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-rotate-a-map-on-desktop-pc/m-p/869115#M3260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gareth - not sure how I missed seeing that one!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;slight correction for anyone stumbing across this, the map property is map.mapRotation, the code I used in order to rotate around the center of the page...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: italic; color: #000000;"&gt;map&lt;/SPAN&gt;.setMapRotation(&lt;SPAN style="font-style: italic; color: #000000;"&gt;map&lt;/SPAN&gt;.mapRotation&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;+&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;15,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(&lt;SPAN style="font-style: italic; color: #000080;"&gt;app&lt;/SPAN&gt;.width&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;*&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;0.5)&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(&lt;SPAN style="font-style: italic; color: #000080;"&gt;app&lt;/SPAN&gt;.height&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;*&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;0.5)&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp; &lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 02:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-rotate-a-map-on-desktop-pc/m-p/869115#M3260</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-10-05T02:50:07Z</dc:date>
    </item>
  </channel>
</rss>

