久久久久久久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. 主站蜘蛛池模板: 丁香久久| 9191在线观看| 日本久久久久久久久 | 亚洲一区二区三区视频 | 天天躁日日躁狠狠躁白人 | 国产精品久久久久久久岛一牛影视 | 国产精品久久久久国产a级 欧美日本韩国一区二区 | 狠狠操狠狠搞 | 成人免费网站 | 国产高清免费在线 | 久久久国产精品一区 | 91精品欧美久久久久久久 | 欧美精品欧美精品系列 | av片免费 | 国产精品久久久久久一级毛片 | 久久精品视频在线观看 | 亚洲日本中文字幕在线 | 亚洲一级淫片 | 久久精品国产亚洲 | 久久精品国产99国产精品 | 精品国产乱码久久久久久a丨 | 成人国产一区二区三区精品麻豆 | 精品一二区 | www免费视频 | 国产福利在线播放 | 日本成人免费观看 | 中文字幕在线观看av | 欧美精品一区在线 | 欧美中文字幕一区二区三区亚洲 | 91国产视频在线观看 | 成人在线观看免费 | 亚洲国产精品久久久久 | 国产精品久久久久久婷婷天堂 | 毛片视频观看 | 国产欧美日韩精品一区 | 99亚洲精品| 人成久久| 中日av | 成人午夜激情 | 二区在线观看 | 午夜精品久久久 |