init

@UiThread
fun init(onLoadingDataReadyListener: OnLoadingDataReadyListener)

Initializes MapControl

Parameters

onLoadingDataReadyListener

An optional listener that will be called on the UI Thread

Throws

if this wasn't invoked from the UI Thread