You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disable in Toggle control is mainly to disable the interaction associated with it.
I've added setDisable and getDisable methods to Button class in the last commit.
Thanks, yes, I thought disable is to disable the button/toggle. Sometimes there is no physical "control" linked to a button and just some custom functionality. I needed a property like "disabled" that physically disable the button (greyed out) at runtime.
By looking at the documentation I can see that ol.control.Toggle has a disable property, but not ol.control.Button
The text was updated successfully, but these errors were encountered: