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

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

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

          <bdo id='Ns68t'></bdo><ul id='Ns68t'></ul>

        如何在 Nodejs 中查找所有用戶的 geoip 位置

        How to find the geoip location for all users in Nodejs(如何在 Nodejs 中查找所有用戶的 geoip 位置)

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

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

          <tfoot id='Cfpuq'></tfoot>
        1. <legend id='Cfpuq'><style id='Cfpuq'><dir id='Cfpuq'><q id='Cfpuq'></q></dir></style></legend>

            <tbody id='Cfpuq'></tbody>
            <bdo id='Cfpuq'></bdo><ul id='Cfpuq'></ul>

                • 本文介紹了如何在 Nodejs 中查找所有用戶的 geoip 位置的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我有一個要求,我必須找到用戶的 geoip 位置.我已經(jīng)使用了將用戶地址存儲在數(shù)據(jù)庫中的代碼,然后顯示該用戶的 geoip 位置.現(xiàn)在假設(shè)用戶將他的位置更改為其他地方.如果用戶現(xiàn)在從該地區(qū)或國家登錄,如何我應(yīng)該顯示該用戶的 geoip.我使用的代碼是:

                  I have a requirement where i have to find the geoip location of the users. I have used the code where i store the address of the user in database and then display the geoip location of that user.Now suppose the users changed his location to some other place.If the user now logs in from that region or country, how should i display the geoip of that user. The code that i use is:

                  geo.geocoder(geo.google, address, sensor,function(formattedAddress, latitude, longitude) {
                               console.log("Formatted Address: " + formattedAddress);
                               console.log("Latitude: " + latitude);
                               console.log("Longitude: " + longitude);
                               user.latitude = latitude;
                               user.longitude = longitude;
                               user.save(function(err) {
                                 if(err)
                                   return userUpdateFailed();
                                 req.flash('info', 'Succesfully Upadated Changes');
                                 res.redirect('/userinfo');
                               });
                            });
                  

                  有沒有其他方法可以找到用戶的確切位置.請幫助

                  Is there any alternative wherby i can be able to find the exact location of user.Please help

                  推薦答案

                  Node-GeoIP 可以是一種解決方案,但請記住,基于 ip 的地理定位并不總是真實的.

                  Node-GeoIP could be a solution but keep in mind that ip-based geolocalization isn't always truthful.

                  這篇關(guān)于如何在 Nodejs 中查找所有用戶的 geoip 位置的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  Use IScroll in Angular 2 / Typescript(在 Angular 2/Typescript 中使用 IScroll)
                  anime.js not working in Ionic 3 project(Anime.js 在 Ionic 3 項目中不起作用)
                  Ionic 3 - Update Observable with Asynchronous Data(Ionic 3 - 使用異步數(shù)據(jù)更新 Observable)
                  Angular 2: file not found on local .json file(Angular 2:在本地 .json 文件中找不到文件)
                  In Ionic 2, how do I create a custom directive that uses Ionic components?(在 Ionic 2 中,如何創(chuàng)建使用 Ionic 組件的自定義指令?)
                  Use ViewChild for dynamic elements - Angular 2 amp; ionic 2(將 ViewChild 用于動態(tài)元素 - Angular 2 amp;離子2)
                  <legend id='vnjjD'><style id='vnjjD'><dir id='vnjjD'><q id='vnjjD'></q></dir></style></legend>

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

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

                        <bdo id='vnjjD'></bdo><ul id='vnjjD'></ul>
                          <tbody id='vnjjD'></tbody>

                          • 主站蜘蛛池模板: 欧产日产国产精品国产 | 欧美在线视频二区 | 欧美精品乱码久久久久久按摩 | 久久亚洲精品久久国产一区二区 | 密室大逃脱第六季大神版在线观看 | 黄色片网此| 欧美精品一区二区免费 | 久久国产精品视频观看 | 一区二区三区四区国产精品 | 亚洲网站观看 | 草久在线视频 | 免费看a | 国产精品久久 | 我我色综合 | 国产一级片免费视频 | 日韩一区二区三区精品 | 91国产精品在线 | 国产精品美女久久久久aⅴ国产馆 | 色婷婷亚洲一区二区三区 | 欧美日韩中文国产一区发布 | 久久久精品一区二区三区 | 91精品国产综合久久久久久蜜臀 | 欧美在线一区二区三区 | 久草在线青青草 | 91 视频网站 | 久久一二 | 亚洲国产精品视频一区 | 国产综合网站 | 精品国产乱码久久久久久1区2区 | 久久久99精品免费观看 | 在线观看黄视频 | 天天草天天干天天 | 中文字幕久久久 | av一级久久 | 欧美黄色录像 | 国产精品一区一区三区 | 99久久精品一区二区毛片吞精 | 久久久久久免费精品一区二区三区 | 精品一区二区三区免费毛片 | 成人午夜精品一区二区三区 | 亚洲欧美视频 |