preferredPolygonFeatureRenderingMode property

FeatureRenderingMode preferredPolygonFeatureRenderingMode

The preferred rendering mode for polygon based feature layers. The layer will attempt to render in the specified mode if this is supported. If for example DYNAMIC is not supported by a layer's rendering mode then it will fall back to rendering in STATIC mode.

Implementation

FeatureRenderingMode get preferredPolygonFeatureRenderingMode {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_LoadSettings_getPreferredPolygonFeatureRenderingMode(
      _handle,
      errorHandler,
    );
  });
  return FeatureRenderingMode._fromCoreValue(
    coreValue,
  );
}
void preferredPolygonFeatureRenderingMode=(FeatureRenderingMode value)

Implementation

set preferredPolygonFeatureRenderingMode(FeatureRenderingMode value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_LoadSettings_setPreferredPolygonFeatureRenderingMode(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}