removePlugin

Remove the plugin instance that will be removed from the map.

Removing the plugin from MapView will result in MapPlugin.cleanup being called and existing events subscription cancelled.

Parameters

id

the id of the plugin to be removed