Show / Hide Table of Contents

Method SetViewpointScaleAsync

| Edit this page View Source

SetViewpointScaleAsync(double)

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

Declaration
public virtual 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 zoom animation completed, false if it was interrupted by another view navigation.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX