久久久久久久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'>

                            主站蜘蛛池模板: 亚洲精品电影网在线观看 | 又黑又粗又长的欧美一区 | 99久久亚洲 | 国产精品久久久久久久一区二区 | 97av视频| 欧美精品在线免费观看 | 日本a在线 | 天堂免费看片 | 欧美一区二区三区在线看 | 久热精品免费 | 日本又色又爽又黄又高潮 | 久久久久一区二区三区四区 | 色综合色综合色综合 | 最新中文字幕第一页视频 | 日韩专区中文字幕 | 天天综合网天天综合色 | 国产区一区二区三区 | 九九亚洲 | 91一区二区在线观看 | 四虎影 | 欧美最猛黑人xxxx黑人 | 日韩一二三区 | av一区二区三区四区 | 6996成人影院网在线播放 | 99福利在线观看 | www.久久影视 | 中文字幕在线观看 | 韩国精品一区 | 亚洲第一网站 | 国产精品亚洲一区二区三区在线 | 污视频免费在线观看 | 久久久www成人免费无遮挡大片 | 91人人澡人人爽 | 在线观看黄色电影 | 久久久高清 | 免费黄网站在线观看 | 亚洲成人av | 免费黄色片视频 | 欧美成人影院在线 | 久久精品中文字幕 | 一区二区三区视频在线观看 |