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
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 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15

Relevant samples

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