I'm using leaflet to display a map. I have a control section that I'd like to be open by default, but I can't find a way to do it through the API.
Is there a way to do this?
leaflet
I'm using leaflet to display a map. I have a control section that I'd like to be open by default, but I can't find a way to do it through the API.
Is there a way to do this?
Best Answer
The collapsed option in the control will achieve this. You need that null for it to work though. An example: