久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    1. <small id='hYceP'></small><noframes id='hYceP'>

      <tfoot id='hYceP'></tfoot>

          <bdo id='hYceP'></bdo><ul id='hYceP'></ul>
      1. <legend id='hYceP'><style id='hYceP'><dir id='hYceP'><q id='hYceP'></q></dir></style></legend>
        <i id='hYceP'><tr id='hYceP'><dt id='hYceP'><q id='hYceP'><span id='hYceP'><b id='hYceP'><form id='hYceP'><ins id='hYceP'></ins><ul id='hYceP'></ul><sub id='hYceP'></sub></form><legend id='hYceP'></legend><bdo id='hYceP'><pre id='hYceP'><center id='hYceP'></center></pre></bdo></b><th id='hYceP'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='hYceP'><tfoot id='hYceP'></tfoot><dl id='hYceP'><fieldset id='hYceP'></fieldset></dl></div>

        在 Swift 中從 Radius 中的 GeoFire 檢索密鑰

        Retrieving Keys From GeoFire within Radius in Swift(在 Swift 中從 Radius 中的 GeoFire 檢索密鑰)
        <legend id='GGaOD'><style id='GGaOD'><dir id='GGaOD'><q id='GGaOD'></q></dir></style></legend>
          <tbody id='GGaOD'></tbody>
        <tfoot id='GGaOD'></tfoot>

            • <bdo id='GGaOD'></bdo><ul id='GGaOD'></ul>

                  <small id='GGaOD'></small><noframes id='GGaOD'>

                  <i id='GGaOD'><tr id='GGaOD'><dt id='GGaOD'><q id='GGaOD'><span id='GGaOD'><b id='GGaOD'><form id='GGaOD'><ins id='GGaOD'></ins><ul id='GGaOD'></ul><sub id='GGaOD'></sub></form><legend id='GGaOD'></legend><bdo id='GGaOD'><pre id='GGaOD'><center id='GGaOD'></center></pre></bdo></b><th id='GGaOD'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GGaOD'><tfoot id='GGaOD'></tfoot><dl id='GGaOD'><fieldset id='GGaOD'></fieldset></dl></div>

                  本文介紹了在 Swift 中從 Radius 中的 GeoFire 檢索密鑰的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我有以下 Firebase 數(shù)據(jù)庫 JSON 數(shù)據(jù)結(jié)構(gòu):

                  I have the following Firebase Database JSON data structure:

                  {
                    "Post List" : {
                      "-KUlvg8mCEGfY5ZSKCou" : {
                        "addedByUser" : "7llQbPdy2NV7aO337h7ap0qLOhC3",
                        "content" : "Post1",
                        "cost" : "$450",
                        "duration" : "Daily",
                        "latitude" : "25.0879721592719",
                        "longitude" : "55.1487715855458",
                        "number" : "01234567890",
                        "timestamp" : "Posted on: Sun 23 Oct"
                      }
                    },
                    "Post Locations" : {
                      "-KUlvg8mCEGfY5ZSKCou" : {
                        ".priority" : "thrnwznh58",
                        "g" : "thrnwznh58",
                        "l" : [ 25.0879721592719, 55.1487715855458 ]
                      }
                    },
                    "User Locations" : {
                      "7llQbPdy2NV7aO337h7ap0qLOhC3" : {
                        ".priority" : "thrnwypqu9",
                        "g" : "thrnwypqu9",
                        "l" : [ 25.0829547120321, 55.1505315855337 ]
                      }
                    }
                  }
                  

                  我希望有一個 GeoFire 查詢,它將返回 1KM 半徑內(nèi)的所有鍵 [FIRAutoID's],例如的用戶位置"這些帖子是靜態(tài)的,一旦設(shè)置了用戶位置,它也將被修復(fù).從半徑查詢結(jié)果中,我期望返回-KUlvg8mCEGfY5ZSKCou",這樣我就可以參考帖子詳細(xì)信息.希望這是有道理的.非常感謝,D.無法在網(wǎng)上找到很多關(guān)于 GeoFire 的信息...看起來它仍處于初始階段?...

                  I am looking to have a GeoFire query which will return all the keys [FIRAutoID's] within a radius of 1KM, for e.g. of "User Locations" these Posts are static and once the user location is set it will also be fixed. From the radius query result I am expecting to return "-KUlvg8mCEGfY5ZSKCou" so I can then make a reference the Post Details. Hope this makes sense. Many thanks, D. Cant find much online about GeoFire... looks like its still in the initial stages?...

                  推薦答案

                  想通了

                  func geoFireQuery() {
                  
                          let circleQuery = geoFire.query(at: self.myLocation, withRadius: 0.5)
                  
                          _ = circleQuery!.observe(.keyEntered, with: { (key: String?, location: CLLocation?) in
                  
                          print (key!)
                  
                      })
                  
                      circleQuery?.observeReady({
                          print("All initial data has been loaded and events have been fired!")
                  
                      })
                  
                  }
                  

                  這似乎給了我我需要的東西.現(xiàn)在將這些鍵引用到 FBDB 的另一部分.:)

                  this seems to be giving me what I need. Now to reference those keys to the other part of the FBDB. :)

                  這篇關(guān)于在 Swift 中從 Radius 中的 GeoFire 檢索密鑰的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Help calculating X and Y from Latitude and Longitude in iPhone(幫助從 iPhone 中的緯度和經(jīng)度計算 X 和 Y)
                  Get user#39;s current location using GPS(使用 GPS 獲取用戶的當(dāng)前位置)
                  IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                  How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                  CLLocation returning negative speed(CLLocation 返回負(fù)速度)
                  How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網(wǎng)絡(luò)提供商)
                  <i id='pwpeC'><tr id='pwpeC'><dt id='pwpeC'><q id='pwpeC'><span id='pwpeC'><b id='pwpeC'><form id='pwpeC'><ins id='pwpeC'></ins><ul id='pwpeC'></ul><sub id='pwpeC'></sub></form><legend id='pwpeC'></legend><bdo id='pwpeC'><pre id='pwpeC'><center id='pwpeC'></center></pre></bdo></b><th id='pwpeC'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pwpeC'><tfoot id='pwpeC'></tfoot><dl id='pwpeC'><fieldset id='pwpeC'></fieldset></dl></div>

                    <small id='pwpeC'></small><noframes id='pwpeC'>

                    <legend id='pwpeC'><style id='pwpeC'><dir id='pwpeC'><q id='pwpeC'></q></dir></style></legend>
                          <tbody id='pwpeC'></tbody>
                        • <bdo id='pwpeC'></bdo><ul id='pwpeC'></ul>
                        • <tfoot id='pwpeC'></tfoot>
                            主站蜘蛛池模板: 欧美一级免费片 | 国产精品一区二区在线 | 久久午夜影院 | 欧美一区久久 | 久久99精品久久久久久国产越南 | www国产成人免费观看视频,深夜成人网 | 日韩免费看片 | 中文字幕av一区二区三区 | 亚洲国产中文字幕 | 日韩在线小视频 | 盗摄精品av一区二区三区 | 色网站在线免费观看 | 国产午夜精品一区二区三区嫩草 | 91高清视频在线观看 | www.夜夜草 | 黄片毛片免费观看 | 成人综合视频在线观看 | 日韩国产在线观看 | 亚洲成人精品一区二区 | 国产三级在线观看播放 | 国产成人精品一区二区 | 久久噜噜噜精品国产亚洲综合 | 午夜成人免费视频 | 黄色在线免费观看视频网站 | 午夜在线影院 | 91精品国产欧美一区二区成人 | 国产精品一区二区av | 噜噜噜噜狠狠狠7777视频 | 精品国产女人 | 国产一二三视频在线观看 | 国产精品色哟哟网站 | 欧美专区在线观看 | 福利视频网站 | 超碰成人免费 | 成人国产精品久久 | 男女羞羞免费视频 | 一区二区中文字幕 | 日韩一区二区福利视频 | 国内自拍视频在线观看 | 性色av香蕉一区二区 | 成人免费网视频 |