<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ## uni.getLocation(OBJECT) 獲取當前的地理位置、速度。 在微信小程序中,當用戶離開應用后,此接口無法調用;當用戶點擊“顯示在聊天頂部”時,此接口可繼續調用。 **OBJECT 參數說明** ![](https://box.kancloud.cn/52466c238b26491b9143cff8d0eb1b66_863x249.png) **success 返回參數說明** ![](https://box.kancloud.cn/bf2700320790a255daa725faff7ea5d8_857x321.png) **示例** ``` uni.getLocation({ type: 'wgs84', success: function (res) { console.log('當前位置的經度:' + res.longitude); console.log('當前位置的緯度:' + res.latitude); } }); ``` Tips <map> 組件默認為國測局坐標,調用 uni.getLocation 返回結果傳遞給 <map> 組件時,需指定 type 為 gcj02。 ## uni.chooseLocation(OBJECT) **打開地圖選擇位置。** **OBJECT 參數說明** ![](https://box.kancloud.cn/d2bff64f794ea46b60b3817427c5890b_867x172.png) **success 返回參數說明** ![](https://box.kancloud.cn/1cf6ab3956abe825162266b3ead35981_864x203.png) **示例** ``` uni.chooseLocation({ success: function (res) { console.log('位置名稱:' + res.name); console.log('詳細地址:' + res.address); console.log('緯度:' + res.latitude); console.log('經度:' + res.longitude); } }); ``` -
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看