It is, as you may guess:
map.getBounds();
If you want to get the bounds after panning and zooming, use events, like
map.on('moveend', function() {
alert(map.getBounds());
});
It is, as you may guess:
map.getBounds();
If you want to get the bounds after panning and zooming, use events, like
map.on('moveend', function() {
alert(map.getBounds());
});