scale property

double scale

The scale of the ArcGISMapViewController.

The scale represents the relationship between a distance in the ArcGISMapViewController (on the screen) and the corresponding distance on the ground. For example, a scale of 100,000 indicates that one centimeter on the ArcGISMapViewController display equates to one kilometer on the ground.

Users can interactively change the scale using the map view's zooming gestures. You can set the scale programmatically using methods that set the Viewpoint, such as ArcGISMapViewController.setViewpointScale.

The value is NAN until the load status of the ArcGISMap is LoadStatus.loaded and the draw status of the GeoViewController is DrawStatus.completed.

Implementation

double get scale {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_MapView_getScale(_handle, errorHandler);
  });
}