Closed andycansdale closed 9 months ago
It was not possible to cancel the current drawingMode (polygon, etc) by passing null. The condition inside the useEffect only accepted truthy values for drawingMode, making it impossible to exit a selected drawingMode.
It was not possible to cancel the current drawingMode (polygon, etc) by passing null. The condition inside the useEffect only accepted truthy values for drawingMode, making it impossible to exit a selected drawingMode.