Show / Hide Table of Contents

Property ZoomFactor

ZoomFactor

Gets or sets the amount to zoom on a double-click/mousewheel.

Declaration
public double ZoomFactor { get; set; }
Property Value
Type Description
System.Double

The amount to zoom on a double-click/mousewheel.

Remarks

The amount to zoom when using double-click or mouse-wheel to zoom. Defaults to 2, and must be a value greater than 1. In a MapView where the current map scale is 1:50,000, a value of 2 would indicate to zoom in to 1:25,000 or out to 1:100,000.

Exceptions
Type Condition
System.ArgumentOutOfRangeException

Value must be greater than 1

Applies to

Platforms and versions
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.3 - 200.7
Xamarin.Android100.3 - 100.15
Xamarin.iOS100.3 - 100.15
UWP100.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.