Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

发现一个bug:比例尺的风格2不对 #5

Open
liyang4991 opened this issue May 25, 2023 · 1 comment
Open

发现一个bug:比例尺的风格2不对 #5

liyang4991 opened this issue May 25, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@liyang4991
Copy link

plot_map函数中,设置‘style’ == 2时,比例尺画出来是错误的,前边的黑色部分少一截。

line 292 应该修改为:
Polygon([(alon,alat),(alon+4deltaLon,alat),(alon+4deltaLon,alat+deltaLon0.4),(alon,alat+deltaLon0.4)])

源代码中第一个polygon的横坐标多加了一个deltaLon,所以画出来后总是少一截(四分之一)。

最后感谢作者提供的代码。

@Treewind
Copy link

Treewind commented May 25, 2023 via email

@ni1o1 ni1o1 added the bug Something isn't working label May 25, 2023
@ni1o1 ni1o1 self-assigned this May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants