Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: structuring control panel #91

Open
aloboa opened this issue Sep 6, 2024 · 4 comments
Open

Feature request: structuring control panel #91

aloboa opened this issue Sep 6, 2024 · 4 comments

Comments

@aloboa
Copy link

aloboa commented Sep 6, 2024

Being able to structure busy control panels "à la" QGIS, with groups and subgroups, would be very good.
Optimally, both groups and subgroups could be defined as having display/not display buttons, but a least
just being able to indent groups under generic (best foldable) titles would result in more tidy displays.

@trafficonese
Copy link
Contributor

I am not entirely sure what you are trying to do, as in leaflet::addControl you can create custom HTML, so you should be able to do everything.

If you're looking for a Grouped LayerControl, then you could check out the latest version of leaflet.extras which now supports leaflet-groupedlayercontrol.

See this example

@aloboa
Copy link
Author

aloboa commented Sep 7, 2024

The examples such as https://ish.lol/leaflet-groupedlayercontrol/example/basic.html do exactly what I suggest,
but what I am requesting is doing it through an R function, not having to create custom HTML.

@trafficonese
Copy link
Contributor

trafficonese commented Sep 7, 2024

@aloboa
Copy link
Author

aloboa commented Sep 10, 2024

Thanks,
but trafficonese/leaflet.extras#228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants