All Terra Draw APIs are accessible
Through the plugin, all Terra Draw APIs are accessible via the plugin constructor and the getTerraDrawInstance method:
const drawControl = new MaplibreTerradrawControl({
modes: ['polygon', 'select', 'delete'],
open: true,
modeOptions: {},
adapterOptions: {}
});
const draw = drawControl.getTerraDrawInstance();