redrawAfter

fun redrawAfter(action: () -> Unit)

Convenience method to avoid unnecessary redraw when styling several DataBoundFeature.

This will lock the DataRenderer and only redraw once the action is done.

Parameters

action

a function that allows you to change the style of several features without redrawing every time.