var sidebarControl = L.Control.extend({ options: { position: 'bottomleft'}, onAdd: function (map) { var container = L.DomUtil.create('div', 'leaflet-bar leaflet-control leaflet-control-custom'); container.innerHTML = `