I have been unable to get the OverviewMap (version 1.2) to work when set through code as this information is only known at runtime. The overview map is always displayed at the maximum extent even when the main map is zoomed in and there is no graphic that displays the current location. Here is a summary of the code:
Set the overview.Map property with the main map.
Create a new instance of the layer to be used with the overview map.
Set the overview.Layer property with the new layer.
The layer is the Bing Maps roads layer. A new instance of the layer is used, not the one from the main map. The spatial reference is Web Mercator.
Does anyone know how to resolve this problem?
Scott