renderingMode property

FeatureRenderingMode renderingMode

The mode defines how the feature layer is rendered.

FeatureRenderingMode.static mode is better suited for displaying large datasets (in terms of the number of vertices) and for complex symbology because it does not update the layer's display while pan/zoom operations are in progress.

FeatureRenderingMode.dynamic mode is better suited for small datasets that update frequently or for better interactive experiences when the layer's display is updated continuously while pan/zoom operations are in progress.

Implementation

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

Implementation

set renderingMode(FeatureRenderingMode value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_FeatureLayer_setRenderingMode(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}