createPlugin

Create a new plugin instance that will be added to the map. Only one instance of Plugin.instance with given Plugin.id can exist for given MapView.

Parameters

plugin

instance of Plugin that will be added to the MapView.

fun createPlugin(plugin: Plugin)