i have a basic geoJson program in javascript by using leaflet API.
map.invalidateSize();
map._onResize() - it's a hack, and there is no guarantee that it won't be removed in future versions.
map._onResize()