wx.getLocation(Object object)
獲取當前的地理位置、速度。
fail返回的對象 errMsg 可能返回的值
‘getLocation:fail auth deny’,'getLocation:fail:auth denied','getLocation:fail authorize no response' :用戶在小程序中未授權 (新老版本、平台返回不同)
‘getLocation:fail system permission denied’:未給微信位置授權
‘getLocation:fail:ERROR_NOCELL&WIFI_LOCATIONSWITCHOFF’:沒開啟系統定位
‘getLocation:fail:ERROR_NETWORK’:網絡異常
‘getLocation:fail:timeout‘:定位超時
