Hi,in my project, i'm using an WindowPanel for the OverView Function, and I'm Having some trouble with it.On My initial view, when the extent is passed to the overview, it get in a scale too high and then it doesn't show any image, since there no image for the resolution it shows.is there a way to make the zoom function of the OverView be zoomToResolution passing the center and resolution instead for zoom passing the extent?here's my OverView:
<userControls:WindowPanel x:Name="OverviewMapPanel" Grid.Row="1" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" Margin="0,30,15,0" BorderBrush="{StaticResource CommonBorderBrush}" Height="160" HorizontalAlignment="Right" VerticalAlignment="Top" Width="275" Effect="{StaticResource dropShadow}" d:LayoutOverrides="Height" Visibility="Collapsed">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Loaded">
<ei:ChangePropertyAction PropertyName="Visibility">
<ei:ChangePropertyAction.Value>
<Visibility>Collapsed</Visibility>
</ei:ChangePropertyAction.Value>
</ei:ChangePropertyAction>
</i:EventTrigger>
</i:Interaction.Triggers>
<userControls:WindowPanel.ContentTitle>
<StackPanel Orientation="Horizontal">
<Image Source="Images/overview.png" HorizontalAlignment="Left" VerticalAlignment="Top" Stretch="Fill" Width="20" Height="20" Margin="5,2,0,0" />
<TextBlock Foreground="White" FontSize="12" Text="Overview" Width="100" TextWrapping="NoWrap" Height="Auto" HorizontalAlignment="Left" Margin="5,3,0,0" />
</StackPanel>
</userControls:WindowPanel.ContentTitle>
<esri:OverviewMap x:Name="OVMap" Margin="0" Map="{Binding ElementName=Mapa}" >
<esri:ArcGISDynamicMapServiceLayer Url="http://192.168.5.104/ArcGIS/rest/services/1MapaBase01-10-2010/MapServer" ImageFormat="PNG32"/>
</esri:OverviewMap>
</userControls:WindowPanel>