leaflet loads incomplete map
问题 I am dynamically adding a leaflet map to a div. The map is only shown partially, see picture. Once I resize the browser window the map is completely shown. Is there a way around this? I tried some initial ideas, see // in code. But none of them worked.incomplete map function mapThis(lat,long,wikiTitle){ var div_Id= "#wikiExtract"+wikiTitle var map_Id= "map"+wikiTitle $(div_Id).append("<div id='"+map_Id+"' style='width: 600px; height: 400px'></div>"); var map = L.map(map_Id).setView([lat, long