Show magnifier

This sample demonstrates how you can tap and hold on a map to get the magnifier. You can also pan while tapping and holding to move the magnifier across the map.

Show magnifier (iOS)

Code

<UserControl 
    x:Class="ArcGISRuntime.UWP.Samples.ShowMagnifier.ShowMagnifier"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:esriUI="using:Esri.ArcGISRuntime.UI"
    xmlns:esriControls="using:Esri.ArcGISRuntime.UI.Controls"
    mc:Ignorable="d" 
    d:DesignHeight="300" d:DesignWidth="300">
    <Grid>

      <esriControls:MapView x:Name="MyMapView">
          <esriControls:MapView.InteractionOptions>
              <esriUI:MapViewInteractionOptions/>                  
          </esriControls:MapView.InteractionOptions>
      </esriControls:MapView>

    </Grid>
</UserControl>


In this topic
  1. Code