import MapboxDraw from 'mapbox-gl-draw'; import * as MapboxDrawGeodesic from 'mapbox-gl-draw-geodesic'; let modes = MapboxDraw.modes; modes = MapboxDrawGeodesic.enable(modes); const draw = new MapboxDraw({ modes }); The usual Mapbox GL Draw events are fired....