renderingMode property

GraphicsRenderingMode renderingMode

The rendering mode used to display graphics in the overlay.

For more efficient rendering of large numbers of graphics, set the rendering mode to GraphicsRenderingMode.static. In order to ensure map responsiveness, static rendering does not refresh the display while pan and zoom operations are in progress. The amount of graphics an overlay can handle in this mode is mainly limited by the system memory.

Implementation

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

Implementation

set renderingMode(GraphicsRenderingMode value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GraphicsOverlay_setRenderingMode(
        _handle, value.coreValue, errorHandler);
  });
}