<?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: Refreshing the Extent in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416785#M9757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: VBoycheva&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The BookmarkWidget has a function addBookmark, which shows how to apply a new extent to the map. You can extract the extent values from the config file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Valentina Boycheva&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2011 19:52:25 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2011-11-02T19:52:25Z</dc:date>
    <item>
      <title>Refreshing the Extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416784#M9756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;am loading different map services in my web application on click , but my problem is that maps are getting loaded somewhere, its may be because of the first map extent,&amp;nbsp; as you can see in the screen shots the diffrences.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;how can i load the map with default extent so that it will get displayed on the screen &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 08:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416784#M9756</guid>
      <dc:creator>MohammedIsmail</dc:creator>
      <dc:date>2011-11-02T08:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing the Extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416785#M9757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: VBoycheva&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The BookmarkWidget has a function addBookmark, which shows how to apply a new extent to the map. You can extract the extent values from the config file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Valentina Boycheva&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 19:52:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416785#M9757</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-11-02T19:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing the Extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416786#M9758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;am unable to find the config file please tell me the location&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 08:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416786#M9758</guid>
      <dc:creator>MohammedIsmail</dc:creator>
      <dc:date>2011-11-16T08:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing the Extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416787#M9759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: VBoycheva&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I meant the widget's configuration file - BookmarkWidget.xml, located in the same directory as the widget itself. The full widget documentation is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://links.esri.com/bookmarkwidget"&gt; http://links.esri.com/bookmarkwidget&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 12:48:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416787#M9759</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-11-16T12:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing the Extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416788#M9760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;how to attach this xml file to our application&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 03:49:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416788#M9760</guid>
      <dc:creator>MohammedIsmail</dc:creator>
      <dc:date>2011-11-17T03:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Refreshing the Extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416789#M9761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: ibespalov&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;I am loading different map services in my web application on click , but my problem is that maps are getting loaded somewhere&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - Switching basemaps with defined center: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/01nq/01nq0000002s000000.htm"&gt;Esri Sample&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - How to get access to your map current extent: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/01nq/01nq0000002w000000.htm"&gt;Esri Sample&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3 - Such layers as &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html"&gt;ArcGISDynamicMapServiceLayer&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISTiledMapServiceLayer.html"&gt;ArcGISTiledMapServiceLayer&lt;/A&gt;&lt;SPAN&gt; has readonly property &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISTiledMapServiceLayer.html#fullExtent"&gt;fullExtent&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4 - Map component has &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#initialExtent"&gt;initialExtent&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt; property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5.1 - On switching layers add and listen LayerEvent.UPDATE_END handler. Get this layer &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;fullExtent&lt;/SPAN&gt;&lt;SPAN&gt;. Set it as map &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;initialExtent&lt;/SPAN&gt;&lt;SPAN&gt;. And make &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#zoomToInitialExtent()"&gt;map.zoomToInitialExtent()&lt;/A&gt;&lt;SPAN&gt; .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OR&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5.2 - On switching layers add and listen LayerEvent.UPDATE_END handler. Get this layer &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;fullExtent&lt;/SPAN&gt;&lt;SPAN&gt;. Set it as map &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#extent"&gt;current extent&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also you can post the result of your working (not working) code. It helps others to find your bug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 06:31:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/refreshing-the-extent/m-p/416789#M9761</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-11-17T06:31:33Z</dc:date>
    </item>
  </channel>
</rss>

