<?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: Limiting zoom and pan? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174842#M4130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks very much for your help, Anthony, that's sorted the zoom!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm curious regarding the LODs - is the resolution/scale set by the map? (I'm using this for my TiledMapServiceLayer - &lt;/SPAN&gt;&lt;A href="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"&gt;http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;) As I tried a number of different values for the resolution/scale but it was only when I wrote out the map.lods array to view the default LODs and used those that my map would display.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How about limiting panning? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I'm guessing this might not be quite as straight forward.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alastair&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2013 08:05:13 GMT</pubDate>
    <dc:creator>AlastairMoore</dc:creator>
    <dc:date>2013-01-09T08:05:13Z</dc:date>
    <item>
      <title>Limiting zoom and pan?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174838#M4126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm building a mobile app for iOS and Android using ArcGIS. The app is a tour app that shows the user locations in a certain area. I'd like to limit the panning and zooming to a certain level. Is this possible and if so how?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 22:39:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174838#M4126</guid>
      <dc:creator>AlastairMoore</dc:creator>
      <dc:date>2013-01-08T22:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting zoom and pan?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174839#M4127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alastair,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can limit the scale by using LODS in your main config, have a look at the bottom of this page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapps/flexviewer/help/index.html#//01m300000018000000"&gt;http://help.arcgis.com/en/webapps/flexviewer/help/index.html#//01m300000018000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 07:02:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174839#M4127</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-01-09T07:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting zoom and pan?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174840#M4128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Anthony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your response but I'm not sure if this relates to the ArcGIS Flex component. I'm not actually using the ArcGIS Viewer for Flex, I'm using the Flex component so would need to be able to configure this in Actionscript/MXML using the API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alastair&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 07:09:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174840#M4128</guid>
      <dc:creator>AlastairMoore</dc:creator>
      <dc:date>2013-01-09T07:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting zoom and pan?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174841#M4129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alastair,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry i didnt realise that you were not using the viewer. The map class has a LODs function, see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#lods"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#lods&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 07:29:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174841#M4129</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-01-09T07:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting zoom and pan?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174842#M4130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks very much for your help, Anthony, that's sorted the zoom!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm curious regarding the LODs - is the resolution/scale set by the map? (I'm using this for my TiledMapServiceLayer - &lt;/SPAN&gt;&lt;A href="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"&gt;http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;) As I tried a number of different values for the resolution/scale but it was only when I wrote out the map.lods array to view the default LODs and used those that my map would display.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How about limiting panning? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I'm guessing this might not be quite as straight forward.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alastair&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 08:05:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174842#M4130</guid>
      <dc:creator>AlastairMoore</dc:creator>
      <dc:date>2013-01-09T08:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting zoom and pan?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174843#M4131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alastair,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would guess that because the map is a tiled service you will be limit to the pre cached scales in the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For panning try setting pan.enabled to false:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#panEnabled"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/Map.html#panEnabled&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 10:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174843#M4131</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-01-09T10:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting zoom and pan?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174844#M4132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Take a look at the code in &lt;/SPAN&gt;&lt;A href="http://thunderheadxpler.blogspot.com/2009/01/constraining-map-extent.html"&gt;Monsour's blog&lt;/A&gt;&lt;SPAN&gt; about constraining the map extent. You can see it &lt;/SPAN&gt;&lt;A href="http://thunderhead.esri.com/readonlyurl/ExtentApp.html"&gt;here&lt;/A&gt;&lt;SPAN&gt; in action.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 14:50:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174844#M4132</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2013-01-09T14:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting zoom and pan?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174845#M4133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Take a look at the code in &lt;A href="http://thunderheadxpler.blogspot.com/2009/01/constraining-map-extent.html"&gt;Monsour's blog&lt;/A&gt; about constraining the map extent. You can see it &lt;A href="http://thunderhead.esri.com/readonlyurl/ExtentApp.html"&gt;here&lt;/A&gt; in action.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Kenbuja,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the link. I did look at that yesterday but it seems that the code doesn't work with the latest Flex/ArcGIS API. No matter, it's a minor point and one I'm sure my client won't mind too much. I'll approach this issue if/when it arises!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 21:39:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/limiting-zoom-and-pan/m-p/174845#M4133</guid>
      <dc:creator>AlastairMoore</dc:creator>
      <dc:date>2013-01-09T21:39:55Z</dc:date>
    </item>
  </channel>
</rss>

