Can’t h5 be used to obtain longitude and latitude in Wechat Official Account

  node.js, question

The latitude and longitude can be obtained by h5 one week ago. I don’t know why I can’t do it these days. I don’t know if this method is blocked by WeChat browser.
Make sure the positioning is on

1. Authorization is required for WeChat js interface
2. Use Baidu Maps 2.0 api interface
Both can be used. Wechat returns gps coordinates and Baidu returns Baidu’s gps coordinates. The two coordinates are different and need to be converted