383bd03d
383bd03d
It starts working after a bit updating useControl: ``` export default function DrawControl(props: DrawControlProps) { useControl( () => new MapboxDraw(props), ({map}: {map: MapRef}) => { map.on('draw.create', props.onCreate); map.on('draw.update', props.onUpdate); map.on('draw.delete',...
I think the error occurs when changing the projection from zoom 0 to the moment when the map becomes flat
Also this error does not occur when using pure mapbox gl
This bug related to react-map-gl, not to mapbox-gl, because "Also this error does not occur when using pure mapbox gl"