MapSpan.WithZoom(Double) Method

Definition

Creates a new MapSpan with the specified zoom factor applied.

public:
 Microsoft::Maui::Maps::MapSpan ^ WithZoom(double zoomFactor);
public Microsoft.Maui.Maps.MapSpan WithZoom(double zoomFactor);
member this.WithZoom : double -> Microsoft.Maui.Maps.MapSpan
Public Function WithZoom (zoomFactor As Double) As MapSpan

Parameters

zoomFactor
Double

The zoom factor. Values greater than 1 zoom in, values less than 1 zoom out.

Returns

A new MapSpan with the zoom applied.

Applies to