maxScale property

double maxScale

The maximum scale for the layer.

The maximum scale at which this layer is visible. If the map or scene is zoomed in beyond this scale, the layer will not be visible. A value of 0 means there is no maximum scale threshold and the layer will be visible at the smallest scale available for the map or scene. If the value is nil, there is no maximum scale. All of the connected map and scene views will be updated.

Implementation

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

Implementation

set maxScale(double value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_Layer_setMaxScale(
      _handle,
      value,
      errorHandler,
    );
  });
}