onPreDraw

abstract fun onPreDraw(getMapViewFrameContext: () -> MapViewFrameContext?)

Called when the map view is about to be drawn with a gutter for non-frozen mutable MapViewFrameContext. After making changes to something affecting the MapViewFrameContext, an updated version can be retrieved reflecting the latest changes by calling getMapViewFrameContext() again. Changes to the MapViewFrameContext will be reflected in the drawing of this frame.

Since

0.0.86

Parameters

getMapViewFrameContext

Getter for a renewed version of the MapViewFrameContext.