Add Layers control as tab to sidebar

This commit is contained in:
Norbert Renner 2018-02-12 18:45:33 +01:00
parent 443ca9c03e
commit 23e7eb073e
4 changed files with 27 additions and 1 deletions

View file

@ -111,7 +111,7 @@ BR.Map = {
map.addLayer(firstLayer);
}
layersControl = L.control.layers(baseLayers, overlays).addTo(map);
layersControl = BR.layersTab(baseLayers, overlays).addTo(map);
L.control.locate({
icon: 'fa fa-location-arrow',