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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.3 - 200.5 |
Xamarin.Android | 100.3 - 100.15 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.3 - 200.5 |