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
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
ArgumentOutOfRangeException

Value must be greater than 1

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.3 - 200.8
Xamarin.Android100.3 - 100.15
Xamarin.iOS100.3 - 100.15
UWP100.3 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.