Show / Hide Table of Contents

Class MapViewInteractionOptions

A set of properties for controlling how the MapView can be controlled through user interaction.

Inheritance
System.Object
InteractionOptions
MapViewInteractionOptions
InteractionOptions.IsEnabled
InteractionOptions.IsFlickEnabled
InteractionOptions.WheelZoomDirection
InteractionOptions.ZoomFactor
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class MapViewInteractionOptions : InteractionOptions

Constructors

Name Description
MapViewInteractionOptions()

Initializes a new instance of the MapViewInteractionOptions class.

Properties

Name Description
AllowMagnifierToPan

Gets or sets a value indicating whether the map should auto-pan the map when the magnifier reaches the edge.

IsMagnifierEnabled

Gets or sets a value indicating whether the magnifier is visible during a touch-and-hold gesture.

IsPanEnabled

Gets or sets a value indicating whether panning is enabled.

IsRotateEnabled

Gets or sets a value indicating whether a user can rotate the map with two finger twisting.

IsZoomEnabled

Gets or sets a value indicating whether zooming is enabled.

SnapToNorthThreshold

Gets or sets the number of degrees from north when rotating the map should snap to north when letting go. Set to 0 to disable.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

Relevant samples

Show magnifier: Tap and hold on a map to show a magnifier.
In This Article
Back to top Copyright © 2022 Esri.