var layer = L.tileLayer.betterWms("http://localhost:8080/geoserver/wms", {
layers: 'data',
format: 'image/png',
transparent: true,
}).addTo(map);
When adding this GROUP WMS Layer on a base map Leaflet, onclick I am getting only one Layer data but Layer Group showing well 2 Layer. I want to get info about both layers on click.
I am using betterwms.js Leaflet plugin.