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

  • <small id='Bj8Ex'></small><noframes id='Bj8Ex'>

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

      1. Leaflet:當邊界改變時觸發一個事件

        Leaflet : Firing an event when bounds change(Leaflet:當邊界改變時觸發一個事件)
        <tfoot id='ip8Ru'></tfoot>
        • <bdo id='ip8Ru'></bdo><ul id='ip8Ru'></ul>
            <tbody id='ip8Ru'></tbody>

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

                <legend id='ip8Ru'><style id='ip8Ru'><dir id='ip8Ru'><q id='ip8Ru'></q></dir></style></legend>
                  本文介紹了Leaflet:當邊界改變時觸發一個事件的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在使用 leaflet 開發一個新的應用程序.您可以在這里了解該應用.

                  I am using leaflet to develop a new application. You can have an idea of the app here.

                  我想在地圖邊界發生變化時觸發一個事件.我查看了文檔,但找不到與此相關的任何內容.

                  I would like to fire an event whenever the bounds of the map change. I looked at the doc but couldn't find anything related to that.

                  我找到了 getBounds() 方法,以及可能的 事件方法,但兩者都沒有結合.

                  I have found the getBounds() method, and the list of possible event methods, but nothing combining both.

                  我看到的唯一另一種可能性是檢查鼠標拖動和滾動事件并每次檢查邊界.但我希望有更好的事情可以做.

                  The only other possibility I see to do that is to check for mouse drag and scroll events and check the bounds every time. But I was hoping there would be something better to do.

                  你有更好的主意嗎?謝謝!

                  Would you have a better idea? Thanks!

                  推薦答案

                  每次移動地圖(通過平移或縮放)時都會更新地圖邊界.所以你可以使用 moveend 事件來達到你的目的

                  Map bounds are updated each time the map is moved (either by pan or zoom). So you can use moveend event for your purpose

                  map.on('moveend', function(e) {
                     var bounds = map.getBounds();
                  });
                  

                  這篇關于Leaflet:當邊界改變時觸發一個事件的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  Check if a polygon point is inside another in leaflet(檢查一個多邊形點是否在傳單中的另一個內部)
                  Changing leaflet markercluster icon color, inheriting the rest of the default CSS properties(更改傳單標記群集圖標顏色,繼承其余默認 CSS 屬性)
                  Trigger click on leaflet marker(觸發點擊傳單標記)
                  How can I change the default loading tile color in LeafletJS?(如何更改 LeafletJS 中的默認加載磁貼顏色?)
                  Add external geojson to leaflet layer(將外部geojson添加到傳單層)
                  Adding Leaflet layer control to sidebar(將 Leaflet 圖層控件添加到側邊欄)
                  • <i id='mZpo1'><tr id='mZpo1'><dt id='mZpo1'><q id='mZpo1'><span id='mZpo1'><b id='mZpo1'><form id='mZpo1'><ins id='mZpo1'></ins><ul id='mZpo1'></ul><sub id='mZpo1'></sub></form><legend id='mZpo1'></legend><bdo id='mZpo1'><pre id='mZpo1'><center id='mZpo1'></center></pre></bdo></b><th id='mZpo1'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='mZpo1'><tfoot id='mZpo1'></tfoot><dl id='mZpo1'><fieldset id='mZpo1'></fieldset></dl></div>
                    <tfoot id='mZpo1'></tfoot>
                    1. <legend id='mZpo1'><style id='mZpo1'><dir id='mZpo1'><q id='mZpo1'></q></dir></style></legend>

                          <tbody id='mZpo1'></tbody>
                        • <bdo id='mZpo1'></bdo><ul id='mZpo1'></ul>
                        • <small id='mZpo1'></small><noframes id='mZpo1'>

                            主站蜘蛛池模板: 九九热久久免费视频 | 日韩网站在线 | 国产日韩一区 | 蜜桃黄网| www.国产日本 | 国产精品久久一区 | 日本一区二区三区四区 | 九九精品在线 | 亚洲视频在线看 | 国产精品国产成人国产三级 | 在线天堂免费中文字幕视频 | 我想看一级黄色毛片 | 国产高清免费 | 国产福利在线免费观看 | 欧美日韩成人一区二区 | 国产精品揄拍一区二区久久国内亚洲精 | 久草视频在线播放 | 毛片在线免费播放 | 欧美一级欧美三级在线观看 | 亚洲欧美久久 | 午夜在线观看视频 | 国产精品久久久久国产a级 欧美日本韩国一区二区 | 日日操夜夜操天天操 | 亚洲色图图片 | 久久免费看 | 夜久久 | 国产一区二区在线播放 | 国产精品爱久久久久久久 | 精品一二区 | 国产成人免费网站 | wwwsihu| 久久爱黑人激情av摘花 | 国产精品免费一区二区三区四区 | 亚洲一区二区三区四区五区中文 | 欧美二区三区 | 亚洲欧美日韩精品久久亚洲区 | 日韩在线视频一区 | 日韩电影免费在线观看中文字幕 | 国产精品久久久久久二区 | 综合国产| 国产一区二区三区在线 |