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
参见百度地图文档 ,地理编码 API 默认返回的是百度的 bd09ll 坐标,在使用其它平台地图的服务(比如geojson是从datav高德那边来的)会产生偏移。
bd09ll
虽然我大概粗略地用几个区域测了下,省市级定位是偏不出去的,不过毕竟也说不好会不会有什么预期外的问题,所以最好还是使用比较统一的坐标系统: 在请求 API 的地方加上 &ret_coordtype=gcj02ll 即可。
&ret_coordtype=gcj02ll
改动很小就不提PR了,开个 Issue 提醒看到的大家留意一下有这么回事。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
参见百度地图文档 ,地理编码 API 默认返回的是百度的
bd09ll
坐标,在使用其它平台地图的服务(比如geojson是从datav高德那边来的)会产生偏移。虽然我大概粗略地用几个区域测了下,省市级定位是偏不出去的,不过毕竟也说不好会不会有什么预期外的问题,所以最好还是使用比较统一的坐标系统: 在请求 API 的地方加上
&ret_coordtype=gcj02ll
即可。改动很小就不提PR了,开个 Issue 提醒看到的大家留意一下有这么回事。
The text was updated successfully, but these errors were encountered: