useContinuousRendering property

bool? useContinuousRendering
getter/setter pair

If set to True scale bar will be triggering onDraw depending on ScaleBarSettings.refreshInterval even if actual data did not change. If set to False scale bar will redraw only on demand. Defaults to False and should not be changed explicitly in most cases. Could be set to True to produce correct GPU frame metrics when running gfxinfo command. Default value: false.

Has no effect on web: Mapbox GL JS has no equivalent option, so the value is stored and returned by getSettings but is not applied.

Implementation

bool? useContinuousRendering;