<?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: overviewmap extent is not updated when switching between 2 different maps in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/overviewmap-extent-is-not-updated-when-switching/m-p/650253#M16664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of the API for SL/WPF are you using? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if you are experiencing the same as what has been reported in this post &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/10033-Overview-map-does-not-show-contents-until-after-view-extent-changed"&gt;http://forums.arcgis.com/threads/10033-Overview-map-does-not-show-contents-until-after-view-extent-changed&lt;/A&gt;&lt;SPAN&gt;. This bug was fixed in v2.1 and the SDK sample &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#OverviewMap"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#OverviewMap&lt;/A&gt;&lt;SPAN&gt;, no longer produce this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jan 2011 04:12:54 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2011-01-24T04:12:54Z</dc:date>
    <item>
      <title>overviewmap extent is not updated when switching between 2 different maps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/overviewmap-extent-is-not-updated-when-switching/m-p/650252#M16663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have 2 tab views (say tab1 and tab2).&amp;nbsp; Each view has an ESRI map.&amp;nbsp; But I have only 1 overview map area.&amp;nbsp; When I click to tab1/tab2, I programmatically change the overviewmap Map and layer Url attributes to the tab1/tab2 map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem I'm having now is when I switch back and forth between 2 views, the extent of the overview map just takes the previous extent until I pan the map then the extent is updated.&amp;nbsp; For instance, I go to tab1 and zoom in, my overview map extent is changed accordingly as expected.&amp;nbsp; Then I switch to tab2, I expect the overview map extent changed to the extent of this map, but it doesn't even though I change the Map attribute to this map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I missing?&amp;nbsp; Please advice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jan 2011 22:59:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/overviewmap-extent-is-not-updated-when-switching/m-p/650252#M16663</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-01-23T22:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: overviewmap extent is not updated when switching between 2 different maps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/overviewmap-extent-is-not-updated-when-switching/m-p/650253#M16664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of the API for SL/WPF are you using? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if you are experiencing the same as what has been reported in this post &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/10033-Overview-map-does-not-show-contents-until-after-view-extent-changed"&gt;http://forums.arcgis.com/threads/10033-Overview-map-does-not-show-contents-until-after-view-extent-changed&lt;/A&gt;&lt;SPAN&gt;. This bug was fixed in v2.1 and the SDK sample &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#OverviewMap"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#OverviewMap&lt;/A&gt;&lt;SPAN&gt;, no longer produce this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 04:12:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/overviewmap-extent-is-not-updated-when-switching/m-p/650253#M16664</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-01-24T04:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: overviewmap extent is not updated when switching between 2 different maps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/overviewmap-extent-is-not-updated-when-switching/m-p/650254#M16665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What version of the API for SL/WPF are you using? &lt;BR /&gt;&lt;BR /&gt;I don't know if you are experiencing the same as what has been reported in this post &lt;A href="http://forums.arcgis.com/threads/10033-Overview-map-does-not-show-contents-until-after-view-extent-changed"&gt;http://forums.arcgis.com/threads/10033-Overview-map-does-not-show-contents-until-after-view-extent-changed&lt;/A&gt;. This bug was fixed in v2.1 and the SDK sample &lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#OverviewMap"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#OverviewMap&lt;/A&gt;, no longer produce this.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No, I don't exprience the same problem with that post.&amp;nbsp; I read that post before posting my thread.&amp;nbsp; That post has a different scenario with mine.&amp;nbsp; The sample overview map is a simple one and my map works just like that.&amp;nbsp; No complaint on that.&amp;nbsp; I don't have any problem when zoom in &lt;/SPAN&gt;&lt;STRONG&gt;1 map&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp; That is working.&amp;nbsp; My problem is: when I switch between &lt;/SPAN&gt;&lt;STRONG&gt;2 different maps &lt;/STRONG&gt;&lt;SPAN&gt;with different extents, my common overview map is not updated based on the current map.&amp;nbsp; Note that I only have 1 overview map for multiple maps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my scenario:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Go to map 1, then zoom in.&amp;nbsp; My overview map is also zoomed in as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Go to map 2, programatically update my overview map "Map" attribute and layer "URL" to map 2.&amp;nbsp; The extent of this overview map is still like the map 1, it is still zoomed in.&amp;nbsp; I expect the overview map extent picks up the extent of map 2 but it doesn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope I am clear now.&amp;nbsp; I'm having api 2.1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 11:40:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/overviewmap-extent-is-not-updated-when-switching/m-p/650254#M16665</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-01-24T11:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: overviewmap extent is not updated when switching between 2 different maps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/overviewmap-extent-is-not-updated-when-switching/m-p/650255#M16666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What version of the API for SL/WPF are you using? &lt;BR /&gt;&lt;BR /&gt;I don't know if you are experiencing the same as what has been reported in this post &lt;A href="http://forums.arcgis.com/threads/10033-Overview-map-does-not-show-contents-until-after-view-extent-changed"&gt;http://forums.arcgis.com/threads/10033-Overview-map-does-not-show-contents-until-after-view-extent-changed&lt;/A&gt;. This bug was fixed in v2.1 and the SDK sample &lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#OverviewMap"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#OverviewMap&lt;/A&gt;, no longer produce this.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the problem resolved by explicitly set the overview map extent to the map extent.&amp;nbsp; Something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;overviewMap.Map.Extent = MyMap.Extent;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 11:50:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/overviewmap-extent-is-not-updated-when-switching/m-p/650255#M16666</guid>
      <dc:creator>ThaoNguyen</dc:creator>
      <dc:date>2011-01-24T11:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: overviewmap extent is not updated when switching between 2 different maps</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/overviewmap-extent-is-not-updated-when-switching/m-p/650256#M16667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you update the Overview Map's Map property to switch between two maps? When this property changes, the old map is unsubscribed from ExtentChanged and the new map is subscribed to ExtentChanged, so succeeding ExtentChanged events in the new map should be captured by the OverviewMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the initial switch, the new map's Extent did not actually change so I think your fix is appropriate. I'll check to see if this is something we should account for when Map property changes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 13:29:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/overviewmap-extent-is-not-updated-when-switching/m-p/650256#M16667</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-01-25T13:29:47Z</dc:date>
    </item>
  </channel>
</rss>

