MapSpan.WithZoom(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.