There's a known and common issue about using leaflet in a bootstrap modal.
It's enough to google it
This is a tipical result:
And can easily be fixed with:
map.invalidateSize();
But not with
leafletmap1.invalidateSize();
So don't know how to solve it

