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

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

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

    1. <tfoot id='bWlxx'></tfoot>

      傳單地圖顯示為灰色

      leaflet map shows up grey(傳單地圖顯示為灰色)

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

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

                  <tbody id='uHxDK'></tbody>
                本文介紹了傳單地圖顯示為灰色的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                我正在使用 quickstart 啟動(dòng)leaflet.js,但我的地圖顯示為灰色...有什么我遺漏的嗎?

                I'm starting leaflet.js with the quickstart but my map shows as grey... is there something I'm missing?

                script.js:

                var leafletMap = L.map('leafletMap').setView([51.505, -0.09], 13);
                
                L.tileLayer('http://{s}.title.cloudmade.com/' + API_KEY + '/997/256/{z}/{x}/{y}.png', {
                        attribution: 'Map data &copy; [...]',
                        maxZoom: 18
                }).addTo(leafletMap);
                
                // marker
                var marker = L.marker([51.5, -0.09]).addTo(leafletMap);
                

                style.css:

                #leafletMap {
                height: 200px;
                width: 200px;
                }
                

                index.html:

                index.html:

                <!DOCTYPE html>
                <html>
                <head>
                    <meta charset="utf-8">
                    <meta name="viewport" content="width=device-width, initial-scale=1.0">
                    <title>My title</title>
                
                    <link rel='stylesheet' href='css/bootstrap.css'>
                    <link rel='stylesheet' href='css/leaflet.css'>
                    <!--[if lte IE 8]>
                        <link rel="stylesheet" href="leaflet.ie.css" />
                    <![endif]-->
                    <link rel="stylesheet" href="css/style.css">
                </head>
                <body>
                
                    <div id='leafletMap'></div>
                
                <script src='js/libs/jquery-1.10.2.js'></script>
                <script src='js/libs/bootstrap.js'></script>
                <script src='js/libs/leaflet-src.js'></script>
                <script src='js/config.js'></script>
                <script src='js/script.js'></script>
                </body>
                </html>
                

                給我:

                推薦答案

                你需要實(shí)現(xiàn)快速入門指南的下一部分:你已經(jīng)初始化了地圖,但沒有添加任何瓦片層,因此灰色.所以請(qǐng)繼續(xù)閱讀以開始的部分,然后我們將添加一個(gè)切片圖層以添加到我們的地圖中.

                You need to implement the next section of the Quick Start Guide: you've initialized the map, but haven't added any tile layers to it, hence gray. So read on to the section beginning with Next we’ll add a tile layer to add to our map.

                這篇關(guān)于傳單地圖顯示為灰色的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                相關(guān)文檔推薦

                Check if a polygon point is inside another in leaflet(檢查一個(gè)多邊形點(diǎn)是否在傳單中的另一個(gè)內(nèi)部)
                Changing leaflet markercluster icon color, inheriting the rest of the default CSS properties(更改傳單標(biāo)記群集圖標(biāo)顏色,繼承其余默認(rèn) CSS 屬性)
                Trigger click on leaflet marker(觸發(fā)點(diǎn)擊傳單標(biāo)記)
                How can I change the default loading tile color in LeafletJS?(如何更改 LeafletJS 中的默認(rèn)加載磁貼顏色?)
                Add external geojson to leaflet layer(將外部geojson添加到傳單層)
                Adding Leaflet layer control to sidebar(將 Leaflet 圖層控件添加到側(cè)邊欄)

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

                  <legend id='9wczX'><style id='9wczX'><dir id='9wczX'><q id='9wczX'></q></dir></style></legend>
                  <tfoot id='9wczX'></tfoot>

                  • <bdo id='9wczX'></bdo><ul id='9wczX'></ul>

                    1. <small id='9wczX'></small><noframes id='9wczX'>

                        <tbody id='9wczX'></tbody>

                          主站蜘蛛池模板: 国产一区在线视频 | 欧美午夜精品久久久久免费视 | 欧美一级二级视频 | 99这里只有精品 | 亚洲电影第三页 | 国产成人精品a视频 | 成人特级毛片 | 97av视频| 中文字幕亚洲精品在线观看 | 97精品一区二区 | 日韩一区二区三区在线观看 | 三级黄视频在线观看 | 亚洲精品久久久9婷婷中文字幕 | 国产精品一区一区三区 | 国产精品久久久久久婷婷天堂 | 巨大黑人极品videos精品 | 免费日韩av网站 | 狠狠操狠狠色 | 国产精品久久久久久 | 国产精品av久久久久久毛片 | 午夜电影网站 | 欧美在线国产精品 | 亚洲欧美中文字幕在线观看 | 国产a级毛片 | 人人叉| 精品国产乱码一区二区三 | 中文在线一区二区 | 亚州中文 | 99热精品在线观看 | 日本午夜精品一区二区三区 | 中文av电影 | 成人在线中文字幕 | 中文字幕 在线观看 | 一区二区av| 蜜臀网 | a级免费视频 | 欧美一区二区三区在线观看 | 狠狠狠色丁香婷婷综合久久五月 | 欧美在线成人影院 | 国产一级在线观看 | 99热这里都是精品 |