收藏
回答

reverseGeocoder返回签名验证失败?

qqmap= new QQMapWX({

      key: 'E2SBZ-YUZOW-FP2R6-RCDMG-PVI52-YBBP5' // 必填

    })

qqmap.reverseGeocoder({ //逆地址解析(经纬度 ==> 坐标位置)

      location: {

        latitude: that.data.latitude,

        longitude: that.data.longitude

      },

      success(res) {

        console.log(res)

        if (!that.data.countyId{

          that.getMyHouse()

          that.getPheryHouse()

          that.setData({

            province: res.result.ad_info.province,

            city: res.result.ad_info.city,

            district: res.result.ad_info.district

          })

        }

      },

      fail: function (res) {

        console.log('fail', res);

      },

    })

  }

返回:fail {status: 111, message: "签名验证失败,解决方法见:https://lbs.qq.com/faq/serverFaq/webServiceKey"}


回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容