minScale property

double minScale

The minimum scale at which to display the graphics overlay. A large number allows the map to display the layer when zooming further out.

This controls the minimum scale at which the graphics overlay is displayed. If the current map scale is larger than the minimum scale, then this graphics overlay will not be displayed.

A scale is usually referred to as 1:X, where X is the scale specified here. This value is the relative scale to the real world, where one inch on the screen is X inches in the real world. Note that this is only an approximation and is dependent on the map's projection that can add some distortion, as well as the system's reported DPI setting which doesn't necessarily match the actual DPI of the screen.

The default value of this property is NaN which makes the layer unbounded by any scale.

Implementation

double get minScale {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GraphicsOverlay_getMinScale(_handle, errorHandler);
  });
}
void minScale=(double value)

Implementation

set minScale(double value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GraphicsOverlay_setMinScale(_handle, value, errorHandler);
  });
}