javascript map in leaflet how to refresh

后端 未结 3 1760

i have a basic geoJson program in javascript by using leaflet API.






        
3条回答
  •  渐次进展
    2021-02-05 15:43

    map.invalidateSize();
    

    map._onResize() - it's a hack, and there is no guarantee that it won't be removed in future versions.

提交回复
热议问题