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

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

    <legend id='Y6Mos'><style id='Y6Mos'><dir id='Y6Mos'><q id='Y6Mos'></q></dir></style></legend>
      <bdo id='Y6Mos'></bdo><ul id='Y6Mos'></ul>
    1. <tfoot id='Y6Mos'></tfoot>

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

      如何在 180° 子午線附近顯示傳單標記?

      How to display Leaflet markers near the 180#176; meridian?(如何在 180 子午線附近顯示傳單標記?)
      1. <legend id='YwVD4'><style id='YwVD4'><dir id='YwVD4'><q id='YwVD4'></q></dir></style></legend>

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

          <tfoot id='YwVD4'></tfoot>
            <bdo id='YwVD4'></bdo><ul id='YwVD4'></ul>

              <i id='YwVD4'><tr id='YwVD4'><dt id='YwVD4'><q id='YwVD4'><span id='YwVD4'><b id='YwVD4'><form id='YwVD4'><ins id='YwVD4'></ins><ul id='YwVD4'></ul><sub id='YwVD4'></sub></form><legend id='YwVD4'></legend><bdo id='YwVD4'><pre id='YwVD4'><center id='YwVD4'></center></pre></bdo></b><th id='YwVD4'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='YwVD4'><tfoot id='YwVD4'></tfoot><dl id='YwVD4'><fieldset id='YwVD4'></fieldset></dl></div>
                <tbody id='YwVD4'></tbody>
                本文介紹了如何在 180° 子午線附近顯示傳單標記?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                限時送ChatGPT賬號..

                我正在使用 Leaflet 1.0.0-rc.2+e02b5c9.我知道默認將所有標記、折線...從經度 -180 到 180 渲染為此處的屏幕截圖:

                I am using Leaflet 1.0.0-rc.2+e02b5c9. I know the default is rendering all markers, polylines ... from longitude -180 to 180 as screen shot here:

                但是,我想將地圖顯示為此時要顯示的經度(它位于日本和美國之間的中海):

                However, I want to show the map as this longitude I want to show at this point (It is middle sea between Japan and US):

                但您會看到所有標記都未呈現在右側.即使,如果我設置

                but you see all the markers are not rendered on the right side. Even though, If i set

                worldCopyJump: true
                

                當我向右拖動時,所有標記都出現在右側,但它們在左側消失,反之亦然.實際上,我希望它們同時出現.

                when I drag to the right, all markers are appeared on the right but they are disappeared on the left and vice versa. Actually, I want they are appeared at the same time.

                有什么辦法可以解決這個問題嗎?

                Any ideas to fix that??

                推薦答案

                只要確保標記的經度在 0..360 范圍內,而不是在 范圍內 -180..180.查看工作示例.

                Just make sure that the longitudes of your markers are in the range 0..360 instead of in the range -180..180. See a working example.

                即而不是

                L.marker([0,170]).addTo(map);
                L.marker([0,-180]).addTo(map);
                L.marker([0,-170]).addTo(map);
                

                做類似的事情

                L.marker([0,170]).addTo(map);
                L.marker([0,180]).addTo(map);
                L.marker([0,190]).addTo(map);
                

                換句話說,如果經度小于零,則在其上加上 360.如果您打算一次過濾所有經度,則可能需要使用 L.Util.wrapNum(lng, [0,360], true).

                In other words, if a longitude is smaller than zero, add 360 to it. You might want to use L.Util.wrapNum(lng, [0,360], true) instead, if you plan to filter all your longitudes at once.

                這篇關于如何在 180° 子午線附近顯示傳單標記?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                相關文檔推薦

                Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運算符上的意外令牌)
                Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標志傳遞給 Gulp 以使其以不同的方式運行任務?)
                Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                How to run Gulp tasks sequentially one after the other(如何一個接一個地依次運行 Gulp 任務)
                Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時 Visual Studio 2015 崩潰)
                Detect FLASH plugin crashes(檢測 FLASH 插件崩潰)
                  <tbody id='NlsSc'></tbody>

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

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

                        <tfoot id='NlsSc'></tfoot>

                        1. 主站蜘蛛池模板: 午夜影晥 | 丁香六月激情 | 国产精品久久久久久中文字 | 超碰精品在线 | 毛片久久久 | 色小姐综合网 | 欧美精品在线一区二区三区 | 日韩久久综合 | www.亚洲精品| 欧美aaaaa| 91精品国产91综合久久蜜臀 | 欧美黑人一区二区三区 | sese视频在线观看 | 国产精品福利视频 | 日韩在线资源 | 日韩欧美在线视频播放 | 中文字幕在线视频免费视频 | 欧美久久视频 | 日韩理论电影在线观看 | 男人天堂av网站 | 全部免费毛片在线播放网站 | 国产免费一区二区三区网站免费 | 又黑又粗又长的欧美一区 | 中文字幕在线二区 | 亚洲在线视频 | 亚洲一二三区精品 | 黄色国产在线播放 | 日本一道本视频 | 国产精品久久99 | 天天天插 | 久久专区 | 亚洲高清在线免费观看 | 欧美精品一区三区 | 中文字幕一区二区三区乱码在线 | 欧美高清视频在线观看 | 99re热精品视频 | 91久久精品国产91久久 | 91不卡 | 黄色网址在线播放 | 精品日韩一区二区 | 中文字幕国产一区 |