We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
App.js中如果Area如果为空,则中国地图比例和视角错误,如果改成山东则比例和视角正确
希望在Area字段无法映射的时候也可以保证地图比例正确
The text was updated successfully, but these errors were encountered:
原因是:地图的布局,会根据画布的大小自适应,所以如果要保持地图不压缩形变,可以让画布的宽高固定,且保持一个相对协调的比例。
Sorry, something went wrong.
画布大小指的是canvas的宽高嘛?目前canvas大小已经指定了width height。
原因是:地图的布局,会根据画布的大小自适应,所以如果要保持地图不压缩形变,可以让画布的宽高固定,且保持一个相对协调的比例。 画布大小指的是canvas的宽高嘛?目前canvas大小已经指定了width height。
是的~
No branches or pull requests
Reproduction link
Steps to reproduce
App.js中如果Area如果为空,则中国地图比例和视角错误,如果改成山东则比例和视角正确
希望在Area字段无法映射的时候也可以保证地图比例正确
The text was updated successfully, but these errors were encountered: