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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.3 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.3 - 100.15 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.3 - 100.15 |