I am trying to change the zoom to bounds leaflet map :
this is my code :
map.setMaxBounds(map.getBounds());
let mapBounds = L.latLngBounds([
[16.3980555556, -26.63],
[5.31277777778, -28.1236111111],
]);
map.fitBounds(mapBounds, {padding: [100,100] ,// zoom });
the point is there :
map.fitBounds(mapBounds, {padding: [100,100] ,// zoom });
how can I add zoom in leaflet map?