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
比如点状地图,但是点的位置和数量是不确定的,这些点可能集中在某市,也可能集中在某省,也可能遍布全国。 所以中心点和zoom大小要根据实际数据来确定。 中心点是比较容易计算的,但缩放大小该如何计算呢,我并不知道zoom对应的比例尺,该怎么处理呢,zoom不需要很精确。 官方这边有什么建议吗? 谢谢。
The text was updated successfully, but these errors were encountered:
Hi @KuduroJS, Please star this repo if you find it useful! Thanks ⭐! 你好 @KuduroJS。如果该仓库对你有用,可以 star 一下,感谢你的 ⭐!
Sorry, something went wrong.
PointLayer options 中的 autoFit 配置传 true,后续给 PointLayer 设置数据的时候,地图会自动移动和缩放。 如果需要更自由操作地图移动和缩放,可以使用 Scene 的 fitBounds、 setZoomAndCenter 等方法。
autoFit
true
Scene
fitBounds
setZoomAndCenter
@heiyexing 非常感谢
heiyexing
No branches or pull requests
比如点状地图,但是点的位置和数量是不确定的,这些点可能集中在某市,也可能集中在某省,也可能遍布全国。
所以中心点和zoom大小要根据实际数据来确定。
中心点是比较容易计算的,但缩放大小该如何计算呢,我并不知道zoom对应的比例尺,该怎么处理呢,zoom不需要很精确。
官方这边有什么建议吗?
谢谢。
The text was updated successfully, but these errors were encountered: