问题: leaflet报错Failed to execute ‘getImageData‘ on ‘CanvasRenderingContext2D‘: The source height is 0. 原因: map容器需要宽高 解决: