<UserControl x:Class="OverviewMap.AddIns.MyConfigDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:esriExt="http://schemas.esri.com/arcgis/client/extensibility/2010" xmlns:esri="http://schemas.esri.com/arcgis/client/2009" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"> <UserControl.Resources> <esriExt:MapApplicationBindingSource x:Key="MapApplication"/> </UserControl.Resources> <Grid x:Name="LayoutRoot" Background="Transparent"> <esri:OverviewMap Map="{Binding Map, Source={StaticResource MapApplication}}" Height="250" Width="300"> <esri:OverviewMap.Layer> <esri:ArcGISTiledMapServiceLayer ID="Topo" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" /> </esri:OverviewMap.Layer> </esri:OverviewMap> </Grid> </UserControl>
<UserControl x:Class="OverviewMap.AddIns.MyConfigDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:esriExt="http://schemas.esri.com/arcgis/client/extensibility/2010" xmlns:esri="http://schemas.esri.com/arcgis/client/2009" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"> <UserControl.Resources> <esriExt:MapApplicationBindingSource x:Key="MapApplication"/> </UserControl.Resources> <Grid x:Name="LayoutRoot" Background="Transparent"> <esri:OverviewMap Map="{Binding Map, Source={StaticResource MapApplication}}" Height="250" Width="300"> <esri:OverviewMap.Layer> <esri:ArcGISTiledMapServiceLayer ID="Topo" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" /> </esri:OverviewMap.Layer> </esri:OverviewMap> </Grid> </UserControl>