Select to view content in your preferred language

Overview map not redrawing after pan

1163
6
11-25-2010 08:52 PM
mdonnelly
Esri Contributor
Hi,

Has anyone had the problem where the overview map does not redraw after panning within it?

ie, I click on the overview map and then drag the map to a new position. My larger base map redraws fine but the overview map does not. It also does not redraw the overview map if I minimise and then open it.

I've taken the suggestion of another forum posting and created a instance of the base map to be consumed by the overview map but that doesn't seem to make any difference. Any ideas?

Mark
Regards,
Mark
0 Kudos
6 Replies
mdonnelly
Esri Contributor
OK,

This looks like a known problem as described in this thread:

http://forums.arcgis.com/threads/10033-Overview-map-does-not-show-contents-until-after-view-extent-c...
Regards,
Mark
0 Kudos
Venkata_RaoTammineni
Regular Contributor
hi,

  There are some issues might cause ...
1) Please Coordinate system...is your data is projected ?
2) Overview map all settings are correct ?

there are some solutions may help you...

1) on Page_Load

   Refresh your overview map

OverviewMap.Refresh();

2) add on page_load or OnPreRender

OverviewMap1.Extent = Map1.Extent;

Above i have tested perfectly working for me...Please check any overview map configuration issues.

Thanks and Regards,

Venkat Tammineni
0 Kudos
HugoAhlenius
Deactivated User
I had an issue with this, and managed to work around it by attaching a "onPanEnd" event to my main map to trigger a _syncOverviewMap() in the ov map...
0 Kudos
Venkata_RaoTammineni
Regular Contributor
hi,

  I have tested in IE 7 too.. it working fine for me...is your Overviewmap is placed in updatepanel ?

Thanks and Regards

Venkat
0 Kudos
DominickCisson
Regular Contributor
I had an issue with this, and managed to work around it by attaching a "onPanEnd" event to my main map to trigger a _syncOverviewMap() in the ov map...


What is a "_syncOverviewMap()"?  Is is a method that can be called on the overview map?  If so, it's not exposed in the API documentation.  Do you have a code snippet that demonstrates this in action?

Thanks!
0 Kudos
HugoAhlenius
Deactivated User
Actually I didn't check if that was in the API, that was a method that I saw exposed in FireBug... it may be an undocumented method, and maybe should be avoided - is there an alternative way?
0 Kudos