WeChat positioning coordinates are used for Baidu Maps positioning conversion. Please ask for help!

  node.js, question

114.057868,22.543099
This is the coordinate point given by WeChat api. When it is used in Baidu Maps, there will be a big distance difference. Is this the coordinate conversion problem? Which great god knows the specific conversion method

The problem is still the difference. The algorithms of the two maps are not necessarily uniform. Look carefully at WeChat documents.

Type:' wgs84','//defaults to the gps coordinates of WGS 84. If you want to return the Mars coordinates directly used for openLocation, you can enter' gcj02'

Looking at Baidu Maps’s api document, it is very clear.

clipboard.png

http://lbsyun.baidu.com/index …

So that is to say, the two are not the same thing at all. .