久久久久久久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. 主站蜘蛛池模板: 久久久久久国产精品免费免费狐狸 | 国产精品日韩欧美一区二区三区 | 欧美日韩a| 成人三级网址 | 亚洲 成人 在线 | 久久最新| 亚洲精品一 | 国产不卡一区 | 日韩久久久久久 | 欧美区在线 | 亚洲一区二区三区视频免费观看 | 激情婷婷成人 | 亚洲bt 欧美bt 日本bt | 亚洲国产成人精品女人久久久 | 国产在线www | 成人在线播放网址 | 成人h片在线观看 | 色婷婷av一区二区三区软件 | 日韩国产一区二区三区 | 欧美极品在线 | 在线看成人av | 九九在线精品视频 | 精品少妇一区二区三区在线播放 | 美女一级毛片 | 天天插天天射天天干 | 中文字幕一区二区三区在线视频 | 97精品视频在线 | 国产色在线 | 午夜精品一区二区三区免费视频 | 欧美久久一级 | 福利视频网 | 欧美 日韩 中文 | 亚洲三区在线观看 | 97精品超碰一区二区三区 | 一本色道精品久久一区二区三区 | 在线中文字幕第一页 | 成人av片在线观看 | 美美女高清毛片视频免费观看 | 久久久久黄色 | 成人一区av| 中文字幕在线一区二区三区 |