We have discussed this possibility during this week's dev meeting (https://youtu.be/s0Jsh1_lIjw?t=2491), and have agreed that at the very least it would be possible to enable modules from config (this is less risky than disabling/uninstalling modules, which has the risk to lead to data loss).
In Drupal 8+, this is achieved via the core.extension.yml config file. Perhaps we should similarly introduce a core.extensions.json file, or system.extensions.json, or reuse the existing system.core.json file for that.
Recent comments
for instance, to set up a layer for water basins and another for mining concessions... Are those tiles from a tile server, or some GeometryCollection in local file in json...
Layer management in Leaflet
Thanks for responding. I was expecting that it be relatively easy to manage overlay layers (not the base layers that are indeed controlled form the Leaflet More Maps module's settings page)....
Layer management in Leaflet
We were able to add overlays and polygons to leaflet with a custom module as mentioned in https://github.com/backdrop-contrib/leaflet/issues/73#issuecomment-2907873081 with a combination of php...
Layer management in Leaflet