Show / Hide Table of Contents

Method SetViewpointScaleAsync

SetViewpointScaleAsync(double)

Zooms the map view to the provided scale around its current center point.

Declaration
public Task<bool> SetViewpointScaleAsync(double scale)
Parameters
Type Name Description
double scale

The scale to zoom to. For example, 50000 is a scale of 1:50,000.

Returns
Type Description
Task<bool>

True if the viewpoint has been successfully set. Otherwise, false.

Applies to

Platforms and versions
TargetVersions
.NET iOS200.0 - 300.0
Xamarin.iOS100.0 - 100.15
In this article
Provide feedback
Back to top Copyright © 2025 Esri.