Showing navigator.geolocation.getCurrentPosition in Baidu Maps

*爱你&永不变心* 提交于 2019-12-06 09:58:58

Umm... first of all, it seems like they have a API to do just that: raw gps location to baidu gps location. I was not able to find the documentation but I think their jsfiddle(?) might give you an idea to get started.

as of the devices, and browser.. Since Xiaomi phones are working fine in the US, so I guess the android system just returns the normal raw GPS location. Also the Chinese browsers, using them in a US phone still gives me the correct position. so I think the browser has nothing to do with the shift too.

hope this help.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!