Closed neilenns closed 1 year ago
Do the ref trick on the map control with an event handler that checks the width of the display and hides or shows as necessary. Maybe in the ref handler use state to save the map object and then use a use effect on the window width
Looks like it is setting zoom control to false