I have 2 tab views (say tab1 and tab2). Each view has an ESRI map. But I have only 1 overview map area. When I click to tab1/tab2, I programmatically change the overviewmap Map and layer Url attributes to the tab1/tab2 map.
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. For instance, I go to tab1 and zoom in, my overview map extent is changed accordingly as expected. 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.
What am I missing? Please advice.
Thanks!