<?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: ability to rotate map in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/ability-to-rotate-map/m-p/128119#M4292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Question solved, I was totally misunderstanding the concept between a sample and passing into a widget format. I just had to remove the class esr:map and voila, the Rotate Wheel interacts with the my WebGIS application.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jun 2017 10:24:12 GMT</pubDate>
    <dc:creator>DilsonKitoko</dc:creator>
    <dc:date>2017-06-13T10:24:12Z</dc:date>
    <item>
      <title>ability to rotate map</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/ability-to-rotate-map/m-p/128116#M4289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible, via a widget or other means, to rotate the orientation of my map.&amp;nbsp; By default north is at the top of the screen but I would like to be able to view my map facing E, S, W and other directions too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 15:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/ability-to-rotate-map/m-p/128116#M4289</guid>
      <dc:creator>JasonTrook</dc:creator>
      <dc:date>2014-03-06T15:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: ability to rotate map</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/ability-to-rotate-map/m-p/128117#M4290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it possible, via a widget or other means, to rotate the orientation of my map.&amp;nbsp; By default north is at the top of the screen but I would like to be able to view my map facing E, S, W and other directions too.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the viewer you can set the map rotation in the main config file to be whatever you want.&amp;nbsp; See the documentation at &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Map_content/01m30000005p000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Map_content/01m30000005p000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could also create your own widget that support changing the rotation interactively.&amp;nbsp; There's an API sample that does that: &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/flex/sample-code/map-rotation.htm"&gt;https://developers.arcgis.com/flex/sample-code/map-rotation.htm&lt;/A&gt;&lt;SPAN&gt; (move the "N" on the rotator circle in the upper left to rotate the map interactively).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 20:35:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/ability-to-rotate-map/m-p/128117#M4290</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2014-03-06T20:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: ability to rotate map</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/ability-to-rotate-map/m-p/128118#M4291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bjorn &lt;/P&gt;&lt;P&gt;I was able to able to migrate the sample to a compiled widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, the tool is not interacting with the map. I can rotate the "wheel" , I can click on "N" to center the weehl. But nothing happens in the map. I suspect that it's because I've ommitted the following line from the sample (I didn't figure out how to implement this part in to the widget):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;esri:center&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;&amp;lt;esri:MapPoint&lt;/SPAN&gt;&lt;SPAN&gt; x="&lt;/SPAN&gt;&lt;SPAN&gt;-10051125&lt;/SPAN&gt;&lt;SPAN&gt;" y="&lt;/SPAN&gt;&lt;SPAN&gt;4669530&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;&amp;lt;/esri:center&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;&amp;lt;esri:ArcGISTiledMapServiceLayer&lt;/SPAN&gt;&lt;SPAN&gt; url="&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fserver.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FWorld_Topo_Map%2FMapServer" rel="nofollow" target="_blank"&gt;http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;&amp;lt;/esri:Map&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: small;"&gt;&amp;lt;viewer:BaseWidget&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; xmlns:fx="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009" rel="nofollow" target="_blank"&gt;http://ns.adobe.com/mxml/2009&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; xmlns:s="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;library://ns.adobe.com/flex/spark&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; xmlns:esri="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.esri.com%2F2008%2Fags" rel="nofollow" target="_blank"&gt;http://www.esri.com/2008/ags&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; xmlns:viewer="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;com.esri.viewer.*&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; xmlns:components="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;widgets.RotateMap.components.*&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #006633; font-size: small;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006633; font-size: small;"&gt;&amp;lt;fx:Script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;![CDATA[&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0033ff; font-size: small;"&gt;import&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; com.esri.ags.Map;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0033ff; font-size: small;"&gt;import&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;com.esri.ags.geometry.MapPoint&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0033ff; font-size: small;"&gt;import&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;com.esri.viewer.AppEvent&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0033ff; font-size: small;"&gt;import&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;com.esri.viewer.utils.LocalizationUtil&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0033ff; font-size: small;"&gt;import&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;mx.collections.ArrayCollection&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0033ff; font-size: small;"&gt;import&lt;/STRONG&gt;&lt;SPAN style="font-size: small;"&gt; &lt;SPAN style="text-decoration: underline;"&gt;mx.events.FlexEvent&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;]]&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006633; font-size: small;"&gt;&amp;lt;/fx:Script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006633; font-size: small;"&gt;&amp;lt;fx:Declarations&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: small;"&gt;&amp;lt;!-- Place non-visual elements (e.g., services, value objects) here --&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #006633; font-size: small;"&gt;&amp;lt;/fx:Declarations&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: small;"&gt;&amp;lt;esri:Map&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; id="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; crosshairVisible="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; level="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;17&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; middleButtonRotationEnabled="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; wrapAround180="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; zoomSliderVisible="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small;"&gt;&amp;lt;/esri:Map&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small;"&gt;&amp;lt;components:RotationWheel&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; id="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;wheel&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; width="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;75&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;" height="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;75&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; left="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;20&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;" top="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;20&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;change="map.rotateTo(wheel.mapRotation, wheel.mapRotation == 0)"&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; mapRotation="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;map.mapRotation&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; skinClass="&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: small;"&gt;widgets.RotateMap.skins.RotationWheelSkin&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/viewer:BaseWidget&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tip on this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Dilson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 16:31:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/ability-to-rotate-map/m-p/128118#M4291</guid>
      <dc:creator>DilsonKitoko</dc:creator>
      <dc:date>2017-06-09T16:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: ability to rotate map</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/ability-to-rotate-map/m-p/128119#M4292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Question solved, I was totally misunderstanding the concept between a sample and passing into a widget format. I just had to remove the class esr:map and voila, the Rotate Wheel interacts with the my WebGIS application.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 10:24:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/ability-to-rotate-map/m-p/128119#M4292</guid>
      <dc:creator>DilsonKitoko</dc:creator>
      <dc:date>2017-06-13T10:24:12Z</dc:date>
    </item>
  </channel>
</rss>

