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

    <tfoot id='fuK36'></tfoot>

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

    <legend id='fuK36'><style id='fuK36'><dir id='fuK36'><q id='fuK36'></q></dir></style></legend>

    1. <i id='fuK36'><tr id='fuK36'><dt id='fuK36'><q id='fuK36'><span id='fuK36'><b id='fuK36'><form id='fuK36'><ins id='fuK36'></ins><ul id='fuK36'></ul><sub id='fuK36'></sub></form><legend id='fuK36'></legend><bdo id='fuK36'><pre id='fuK36'><center id='fuK36'></center></pre></bdo></b><th id='fuK36'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='fuK36'><tfoot id='fuK36'></tfoot><dl id='fuK36'><fieldset id='fuK36'></fieldset></dl></div>
        • <bdo id='fuK36'></bdo><ul id='fuK36'></ul>
      1. 全球地圖圖塊在縮放級別 19 后消失

        Global map tiles disappear past zoom level 19(全球地圖圖塊在縮放級別 19 后消失)

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

            • <bdo id='qcgVZ'></bdo><ul id='qcgVZ'></ul>

                <tbody id='qcgVZ'></tbody>
              <legend id='qcgVZ'><style id='qcgVZ'><dir id='qcgVZ'><q id='qcgVZ'></q></dir></style></legend>

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

                1. 本文介紹了全球地圖圖塊在縮放級別 19 后消失的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我將 OpenStreetMap 與

                  <小時>

                  編輯:

                  //加載地圖this.map_ = L.map($(selector)[0], {中央: [48.8459382,2.2863024,],最大縮放:24,縮放:20,});

                  解決方案

                  我猜你用過map.options.maxZoom 設置為高數字,讓用戶縮放以查看您的室內圖像細節.

                  但是,OSM 磁貼在縮放級別 19 之后不可用,因此服務器返回 404 錯誤,并且您的磁貼被錯誤磁貼替換(或者如果未指定,則只是灰色磁貼).

                  在這種情況下,您只需在 Tile Layer 上使用這 2 個選項(一起)來告訴 Leaflet 重新使用較低縮放比例的圖塊并展開它們:

                  • maxNativeZoom 設置為 19.
                  • maxZoom 設置為您需要的任何值,并且相等到 map.options.maxZoom 如果指定.

                  L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',{maxNativeZoom: 19,//OSM 最大可用縮放為 19.maxZoom: 22//匹配地圖 maxZoom,或者不定義 map.options.maxZoom.}).addTo(地圖);

                  演示:http://jsfiddle.net/ve2huzxw/68/

                  I use OpenStreetMap with Leaflet.js.

                  I have a map with an indoor picture on it. The problem is when I zoom in, streets disapears. Do you know anything that can solve this plz? Tricks or tips!


                  EDIT:

                  // Load the Map
                  this.map_ = L.map($(selector)[0], {
                      center: [
                        48.8459382,
                        2.2863024,
                      ],
                  
                      maxZoom: 24,
                      zoom: 20,
                  });
                  

                  解決方案

                  I guess you have used map.options.maxZoom at a high number to let the user zoom to see your indoor image details.

                  However, OSM tiles are not available past zoom level 19, so the server returns 404 errors and your tiles are replaced by the Error Tile (or just a grey tile if not specified).

                  In that case, you would simply need to use these 2 options (together) on Tile Layer to tell Leaflet to re-use tiles from a lower zoom and to expand them:

                  • maxNativeZoom set at 19.
                  • maxZoom set at whatever you need, and equal to map.options.maxZoom if specified.

                  L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
                      maxNativeZoom: 19, // OSM max available zoom is at 19.
                      maxZoom: 22 // Match the map maxZoom, or leave map.options.maxZoom undefined.
                  }).addTo(map);
                  

                  Demo: http://jsfiddle.net/ve2huzxw/68/

                  這篇關于全球地圖圖塊在縮放級別 19 后消失的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 圖層控件添加到側邊欄)
                      <tbody id='wBLwp'></tbody>
                      <bdo id='wBLwp'></bdo><ul id='wBLwp'></ul>
                    • <tfoot id='wBLwp'></tfoot>
                    • <legend id='wBLwp'><style id='wBLwp'><dir id='wBLwp'><q id='wBLwp'></q></dir></style></legend>

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

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

                          1. 主站蜘蛛池模板: 青草视频在线 | 久久香蕉精品视频 | 毛片链接 | 欧美aaaa视频 | 澳门永久av免费网站 | 综合色婷婷 | 久久久精品一区二区三区 | 日日摸夜夜添夜夜添特色大片 | 99九九久久| 蜜桃精品视频在线 | 免费观看av | 91久久 | 午夜视频一区二区三区 | 91精品国产综合久久精品 | 一道本不卡 | 欧美a区| 午夜影院网站 | 日韩中出| 欧美视频在线播放 | 在线播放91 | 在线看亚洲 | 精品国产乱码久久久久久闺蜜 | 日韩一区二区三区在线 | 国产一在线观看 | 久久久91精品国产一区二区三区 | 欧美a在线观看 | 午夜精品久久久久久久久久久久久 | 久久久爽爽爽美女图片 | 精产嫩模国品一二三区 | 久久日韩精品 | 国产中文字幕在线观看 | 国产视频一区二区三区四区五区 | 美女亚洲一区 | 国产一区二区三区不卡av | 国产视频一区二区三区四区五区 | 久草青青草 | 久草视频网站 | 国产精品久久久久久二区 | 日韩中文在线 | 日韩欧美二区 | 欧美精品综合在线 |