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
在绘制散点图的时候需要代表国家的一个坐标
The text was updated successfully, but these errors were encountered:
通过当前world.zh.json里的数据能不能计算出来?
world.zh.json
Sorry, something went wrong.
还真可以:https://turfjs.org/docs/api/centroid
感谢您为大家提供解决思路❤️。 Turf.js 提供的 turf.centroid 函数能直接计算质心,质心是几何图形的中心点,考虑了整个形状的面积分布,确实能满足您的需求。
No branches or pull requests
在绘制散点图的时候需要代表国家的一个坐标
The text was updated successfully, but these errors were encountered: