WeChat Mini Programs uses Baidu Map API to resolve the reverse address to invalid parameter.

// 
wx.request({
  url: "http://api.map.baidu.com/geocoder",
  data: {
    location: "22.53901657788418,113.93694993069373",
    output: "json",
    key  // key
  },
  success: function ({ data: res }) {
    if (res.result) {
      that.setData({
        address: res.result.formatted_address
      })
    }
  }
})

clipboard.png


change Tencent Map.


wx.request({
  url: 'http://api.map.baidu.com/geocoder/v2/',  // 
  data: {
    location: '22.53901657788418,113.93694993069373',
    output: 'json',
    ak  //    
  },
  success: function ({ data: res }) {
    if (res.result) {
      that.setData({
        address: res.result.formatted_address
      })
    }
  }
})
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36846-343cd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36846-343cd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?