setViewpointScale method

  1. @awaitNotRequired
Future<bool> setViewpointScale(
  1. double scale
)

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

Parameters:

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

Return Value: A boolean value. True if the viewpoint has been successfully set. Otherwise, false.