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

    <bdo id='wMlng'></bdo><ul id='wMlng'></ul>
  • <small id='wMlng'></small><noframes id='wMlng'>

      <i id='wMlng'><tr id='wMlng'><dt id='wMlng'><q id='wMlng'><span id='wMlng'><b id='wMlng'><form id='wMlng'><ins id='wMlng'></ins><ul id='wMlng'></ul><sub id='wMlng'></sub></form><legend id='wMlng'></legend><bdo id='wMlng'><pre id='wMlng'><center id='wMlng'></center></pre></bdo></b><th id='wMlng'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='wMlng'><tfoot id='wMlng'></tfoot><dl id='wMlng'><fieldset id='wMlng'></fieldset></dl></div>
      <legend id='wMlng'><style id='wMlng'><dir id='wMlng'><q id='wMlng'></q></dir></style></legend>
      1. <tfoot id='wMlng'></tfoot>
      2. 我將如何自定義傳單彈出窗口的外觀和感覺?

        How would I customise the look and feel of the leaflet popup?(我將如何自定義傳單彈出窗口的外觀和感覺?)
          • <bdo id='trQIt'></bdo><ul id='trQIt'></ul>
            <i id='trQIt'><tr id='trQIt'><dt id='trQIt'><q id='trQIt'><span id='trQIt'><b id='trQIt'><form id='trQIt'><ins id='trQIt'></ins><ul id='trQIt'></ul><sub id='trQIt'></sub></form><legend id='trQIt'></legend><bdo id='trQIt'><pre id='trQIt'><center id='trQIt'></center></pre></bdo></b><th id='trQIt'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='trQIt'><tfoot id='trQIt'></tfoot><dl id='trQIt'><fieldset id='trQIt'></fieldset></dl></div>

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

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

                    <tbody id='trQIt'></tbody>
                  本文介紹了我將如何自定義傳單彈出窗口的外觀和感覺?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在考慮自定義使用傳單構建的地圖,我想自定義彈出窗口 (L.popup).

                  I am looking at customising a map built using leaflet and I would like to customise the Popup (L.popup).

                  我能想到的唯一方法是在我的新對話框中構建一個自定義彈出層,并在每次用戶與標記交互時重新定位它,這樣當用戶拖動地圖時彈出框保持對齊.

                  The only method I can think of is to build a custom popup layer with my new dialog in and reposition this every time the user interacts with a marker, this way the popup stays aligned when the user drags the map.

                  有人知道這樣做的任何替代方案或現有方法嗎?

                  Is anyone aware of any alternatives or existing ways of doing this?

                  謝謝

                  推薦答案

                  您應該使用 css 自定義外觀.以下選擇器可能很有趣:

                  You should customize the look and feel using css. The following selectors are probably interesting:

                  .leaflet-popup-content-wrapper {
                  }
                  
                  .leaflet-popup-content-wrapper .leaflet-popup-content {
                  }
                  
                  .leaflet-popup-tip-container {
                  }
                  

                  根據您的瀏覽器,您可以使用 Firefox 的 Firebug 等工具或 Chrome/Safari 中的內置開發人員工具(右鍵單擊頁面上的任意位置并單擊檢查元素,或使用 快捷方式),檢查彈出窗口并找到您可能想要修改的其他 css 選擇器.

                  Depending on your browser, you can use tools like Firebug for Firefox or the build in developer tools in Chrome/Safari (right click anywhere on the page and click Inspect element, or use shortcuts), to inspect the popup and find additional css selectors that you may want to modify.

                  要擴展它的功能,您應該首先查看 彈出窗口源代碼.查看其他 Leaflet 組件的來源,直到您對正在發生的事情有所了解.通過以下方式擴展 Popup 類,然后更改任何您想要的內容:

                  To extend it's functionality you should start by looking at the popup source code. Look at the sources of other Leaflet components until you get some feeling for what's going on. Extend the Popup class in the following way, and then change whatever you want:

                  L.CustomPopup = L.Popup.extend({
                    // You changes here
                  });
                  

                  這篇關于我將如何自定義傳單彈出窗口的外觀和感覺?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 圖層控件添加到側邊欄)
                  <tfoot id='zMeXh'></tfoot>

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

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

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

                          3. 主站蜘蛛池模板: 一区二区三区高清 | 亚洲精品www久久久久久广东 | 一级免费av| 国产a精品 | 中文字幕免费在线观看 | 国产欧美在线播放 | 亚洲h视频 | 成人福利视频在线观看 | 欧美精产国品一二三区 | 中文字幕在线观看第一页 | 国产51自产区 | 在线看片你懂的 | www亚洲精品 | 黄色片久久 | 国产精品手机在线 | 一级片免费在线观看 | 福利网站在线观看 | 国产欧美久久久 | 欧美精品日韩少妇 | 亚洲免费大片 | 久久九九免费视频 | 黄色欧美视频 | 黄色国产在线观看 | 国产91一区| 草草在线视频 | 日韩三级视频 | 久久精品中文 | 91在线精品秘密一区二区 | 亚洲一区二区三区在线视频 | av高清在线| 亚洲国产一区二区三区 | 日韩在线看片 | 欧美久久久久久久久 | 国产一区在线观看视频 | 在线一区| 天堂色av | 中文字幕在线一区 | 欧美日韩精品一区 | 日本亚洲欧美 | 国产三级黄色 | 亚洲视频一区二区三区 |