iag-geo / bootleaf

An open-source version of IAG's Bootleaf fork
https://demo.bootleaf.xyz
MIT License
89 stars 65 forks source link

Problem with include leaflet-layer-tree-control #20

Open briceket opened 5 years ago

briceket commented 5 years ago

I'm trying to include leaflet-layer-tree-control.

briceket commented 5 years ago

I would like to make the grouped layer collapse. in my research i found that Problem the plugin leaflet-layer-tree-control does it perfectly

briceket commented 5 years ago

I want to know if i can contruct the layer tree in the config.js file

slead commented 5 years ago

sorry, I'm not sure about that plugin as I've never used it. Bootleaf includes http://leafletjs.com/reference-1.0.2.html#control-layers-option by default (see https://github.com/iag-geo/bootleaf#table-of-contents), so that would be the preferred option since it's been tested