Magnifying Glass

This sample demonstrates the MagnifyingGlass control. Click and drag the magnifier over the map to see a zoomed-in view of the map within the magnifying glass. As you can see, a layer can be shown within the magnifying glass that is not included within the map.
Download Sample Application<UserControl x:Class="ArcGISWPFSDK.LocalMagnifyingGlass" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:esri="http://schemas.esri.com/arcgis/client/2009"> <Grid x:Name="LayoutRoot" > <esri:Map x:Name="MyMap" Extent="-15000000,2000000,-7000000,8000000" WrapAround="True"> <esri:ArcGISLocalTiledLayer ID="myBaseMap" Path="..\\Data\\TPKs\\Topographic.tpk"/> </esri:Map> <esri:MagnifyingGlass x:Name="MyMagnifyingGlass" Visibility="Visible" Map="{Binding ElementName=MyMap}" ZoomFactor="3"> <esri:MagnifyingGlass.Layer> <esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/> </esri:MagnifyingGlass.Layer> </esri:MagnifyingGlass> </Grid> </UserControl>
5/16/2014