plot_map
plot_map copied to clipboard
发现一个bug:比例尺的风格2不对
plot_map函数中,设置‘style’ == 2时,比例尺画出来是错误的,前边的黑色部分少一截。
line 292 应该修改为: Polygon([(alon,alat),(alon+4deltaLon,alat),(alon+4deltaLon,alat+deltaLon0.4),(alon,alat+deltaLon0.4)])
源代码中第一个polygon的横坐标多加了一个deltaLon,所以画出来后总是少一截(四分之一)。
最后感谢作者提供的代码。
Your letter has reached me,and I will respond to it as soon as possible.Thanks a lot.您发给我的信件已经收到,谢谢!祝万事如意!!!