<?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 Extent can not be set correctly if map rotated in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/extent-can-not-be-set-correctly-if-map-rotated/m-p/73846#M508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Blessed 2012 to you all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help with the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the map is rotated, and I get and set the Extent of the map, then after setting it, the extent is not the same as before.&amp;nbsp; If the rotation angle is 0, then this is not a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To test you can do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a button that will call the following sub:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sub RotateMap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Map.RotationAngle = 70&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create another button that will call the following sub:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sub DoMapExtent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Dim&amp;nbsp; L_ExtentRect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; set L_ExtentRect = application.map.extent &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; application.map.extent = L_ExtentRect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;end sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will see that if you call "DoMapExtent" then all will be OK, but if you first call "RotateMap" then every time you call "DoMapExtent" the Map zooms out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eddie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2012 06:43:53 GMT</pubDate>
    <dc:creator>EddieViljoen</dc:creator>
    <dc:date>2012-01-05T06:43:53Z</dc:date>
    <item>
      <title>Extent can not be set correctly if map rotated</title>
      <link>https://community.esri.com/t5/arcpad-questions/extent-can-not-be-set-correctly-if-map-rotated/m-p/73846#M508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Blessed 2012 to you all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help with the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the map is rotated, and I get and set the Extent of the map, then after setting it, the extent is not the same as before.&amp;nbsp; If the rotation angle is 0, then this is not a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To test you can do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a button that will call the following sub:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sub RotateMap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Map.RotationAngle = 70&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create another button that will call the following sub:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sub DoMapExtent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Dim&amp;nbsp; L_ExtentRect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; set L_ExtentRect = application.map.extent &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; application.map.extent = L_ExtentRect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;end sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will see that if you call "DoMapExtent" then all will be OK, but if you first call "RotateMap" then every time you call "DoMapExtent" the Map zooms out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eddie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 06:43:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/extent-can-not-be-set-correctly-if-map-rotated/m-p/73846#M508</guid>
      <dc:creator>EddieViljoen</dc:creator>
      <dc:date>2012-01-05T06:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extent can not be set correctly if map rotated</title>
      <link>https://community.esri.com/t5/arcpad-questions/extent-can-not-be-set-correctly-if-map-rotated/m-p/73847#M509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can second that - when the map is rotated manually and then panned or rescaled, this&amp;nbsp; causes the map view to pan or rescale entirely erratically and not in&amp;nbsp; the desired way of the specific pan or rescale applied. Basically this&amp;nbsp; renders the rotation function entirely useless as it requires to&amp;nbsp; pan and zoom in again to the needed map section if this&amp;nbsp; happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apperently this a known, 6-year old buf which still has not been adressed...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 00:52:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/extent-can-not-be-set-correctly-if-map-rotated/m-p/73847#M509</guid>
      <dc:creator>MaxRingler</dc:creator>
      <dc:date>2012-10-01T00:52:43Z</dc:date>
    </item>
  </channel>
</rss>

