Select to view content in your preferred language

Overview map does not show contents until after view extent changed

1099
6
08-10-2010 01:09 AM
StephenLead
Honored Contributor
Re: the sample at http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#OverviewMap

Switch to the XAML page then the Live Sample page, and note that the overview map initially does not draw. You need to pan/zoom the map before the overview map initialises.

This also happens when I compile and run this code locally. Any ideas why the overview map doesn't show immediately?

Thanks,
Steve
0 Kudos
6 Replies
JenniferNery
Esri Regular Contributor
Thank you for reporting this. We are looking into it.

Jennifer
0 Kudos
PaulHuppé
Deactivated User
Hi,

I switched my overview map from using a ArcGISTiledMapServiceLayer as in the sample to a ArcGISDynamicMapServiceLayer, and the overview map simply never shows!  All I get is an empty grey box.  Does the overview map support a ArcGISDynamicMapServiceLayer?

Paul
0 Kudos
DominiqueBroux
Esri Frequent Contributor
The overview map works whatever the layer provided that the spatial reference be the same than the main map.
0 Kudos
PaulHuppé
Deactivated User
I think that was the clue I needed. I removed the MaximumExtent="-180,-90,180,90" from the Overviewmap control definition, and it now works fine.

Thanks,
Paul
0 Kudos
NeilDuxbury
Deactivated User
The overview map works whatever the layer provided that the spatial reference be the same than the main map.


Are there any plans to allow the spatial reference of the overview map to be set in the same way as the regular map control?

Currently it appears that there is no way to change the spatial reference of the overview map control after it has been created or to explicitly set the spatial reference.

It would be helpful if setting the MaximumExtent property when the Layer property is null would cause the spatial reference to be set on the overview map.

Thanks,
Neil
0 Kudos
JenniferNery
Esri Regular Contributor

Re: the sample at http://help.arcgis.com/en/webapi/sil...tm#OverviewMap

Switch to the XAML page then the Live Sample page, and note that the overview map initially does not draw. You need to pan/zoom the map before the overview map initialises.

This also happens when I compile and run this code locally. Any ideas why the overview map doesn't show immediately?


This will be fixed in the next release.
0 Kudos