Thank you! Just needed some pointing in the right direction. Works perfectly now.
For anyone who perhaps is in the same boat at some point or another I'll leave an explanation of the steps to get there:
I have a several layers and layer groups:
var layer1_polygon = polygon-coordinates-here;
var layer1_marker = L.marker([some lat,lng here]);
var layer1_group = L.layerGroup([layer1_polygon, layer1_marker]);
var baseLayers = {
"Layer 1": layer1_group,
};
var control = L.control.layers(baseLayers, null, {collapsed: false}); // so the menu is always visible & in this example no overlayLayers
control.addTo(map);
// to get you started/in the right direction
map.on('baselayerchange', function(a) {
alert("The layer changed to " + baseLayers[
a.name].getLayers()[0].getLatLng().lat);
});
and that is all!
thanks Bryan for your help.
Layers is awesome so far!