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
https://g2.antv.vision/zh/docs/manual/dataset/connector#geojson
在高德地图输入一个区域,如达川区,对应的点是行政区所在的中心点(107.511985,31.196365)。而通过
dv.source(geojsonData, { type: 'GeoJSON', // 别名 geo / geojson });
这种方式取得的centroidX, centroidY 得到的是(107.41513947891403,31.11078512409564)。两者对应的不是一个位置。 请问如何能取到行政区域的中心点?看了代码好像这边并不能传什么参数去更改生成genjson中取得的中心点
The text was updated successfully, but these errors were encountered:
这个是 geo 数据上的问题。好像没有很好的解决办法。
Sorry, something went wrong.
No branches or pull requests
Reproduction link
https://g2.antv.vision/zh/docs/manual/dataset/connector#geojson
Steps to reproduce
在高德地图输入一个区域,如达川区,对应的点是行政区所在的中心点(107.511985,31.196365)。而通过
dv.source(geojsonData, {
type: 'GeoJSON', // 别名 geo / geojson
});
这种方式取得的centroidX, centroidY 得到的是(107.41513947891403,31.11078512409564)。两者对应的不是一个位置。
请问如何能取到行政区域的中心点?看了代码好像这边并不能传什么参数去更改生成genjson中取得的中心点
The text was updated successfully, but these errors were encountered: