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

    <legend id='5l5Vy'><style id='5l5Vy'><dir id='5l5Vy'><q id='5l5Vy'></q></dir></style></legend>
  • <small id='5l5Vy'></small><noframes id='5l5Vy'>

    1. <tfoot id='5l5Vy'></tfoot>

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

        傳單圓圈繪圖/編輯問(wèn)題

        leaflet circle drawing / editing issue(傳單圓圈繪圖/編輯問(wèn)題)

                  <tbody id='V9Z5I'></tbody>
              1. <small id='V9Z5I'></small><noframes id='V9Z5I'>

                <legend id='V9Z5I'><style id='V9Z5I'><dir id='V9Z5I'><q id='V9Z5I'></q></dir></style></legend>
                  <bdo id='V9Z5I'></bdo><ul id='V9Z5I'></ul>

                • <tfoot id='V9Z5I'></tfoot>

                  <i id='V9Z5I'><tr id='V9Z5I'><dt id='V9Z5I'><q id='V9Z5I'><span id='V9Z5I'><b id='V9Z5I'><form id='V9Z5I'><ins id='V9Z5I'></ins><ul id='V9Z5I'></ul><sub id='V9Z5I'></sub></form><legend id='V9Z5I'></legend><bdo id='V9Z5I'><pre id='V9Z5I'><center id='V9Z5I'></center></pre></bdo></b><th id='V9Z5I'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='V9Z5I'><tfoot id='V9Z5I'></tfoot><dl id='V9Z5I'><fieldset id='V9Z5I'></fieldset></dl></div>
                  本文介紹了傳單圓圈繪圖/編輯問(wèn)題的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  我是第一次制作傳單,并面臨繪制圓圈和編輯(更改圓圈位置)的問(wèn)題.

                  I am working on leaflet for the very first time and facing the issue with drawing circles and editing (changing location of circle).

                  我面臨的問(wèn)題是:-

                  1. 將圓從一個(gè)位置編輯(移動(dòng))到另一個(gè)位置會(huì)改變其半徑.
                    注意:請(qǐng)嘗試在給定的小提琴中在地圖頂部創(chuàng)建圓圈,然后通過(guò)單擊編輯按鈕將其移動(dòng)到底部.

                  1. Editing (moving) circle from one location to another changes its radius.
                    Note: Pls try to create circle on top of map in given fiddle and then move it to the bottom by clicking edit button.

                  如果我在地圖的頂部創(chuàng)建圓圈,它可以正常工作.但如果我在地圖底部創(chuàng)建圓圈,它只會(huì)在地圖上打印一個(gè) DOT.我檢查了幾個(gè)例子,它在任何地方都可以正常工作.
                  這里是工作示例,其中圓圈創(chuàng)建和移動(dòng)圓圈完全很好.

                  If I create circle on top section of map it works fine. But If I create circle on bottom of map it only prints a single DOT on map. I checked few examples and it works fine everywhere.
                  Here is the working example where circle creation and moving circle is completely fine.

                  我沒(méi)有使用像谷歌地圖這樣的地理地圖.我正在使用靜態(tài)圖像,因?yàn)檫@是我的項(xiàng)目要求.

                  I am not using the geographic map like google maps. I am using and static image as it is my project requirement.

                  這是我的代碼的小提琴.

                  Here is the fiddle of my code.

                  只需使用以下代碼即可啟用畫(huà)圈:

                  Just using following code to enable drawing circle :

                  enabled : this.options.circle,
                  handler : new L.Draw.Circle(map,this.options.circle),
                  title : L.drawLocal.draw.toolbar.buttons.circle
                  

                  推薦答案

                  您看到的是墨卡托投影固有的距離失真(以及基于它的谷歌墨卡托投影,這是大多數(shù)在線地圖所固有的).因?yàn)槟牡貓D從縮放 1 開(kāi)始,所以向北/向南拖動(dòng)圓形標(biāo)記會(huì)導(dǎo)致很多失真.

                  What you're seeing is distortion in distance inherent in the mercator projection (and the Google Mercator projection based off it that is inherent to most online maps). Because your map starts at zoom 1, dragging the circle marker north/south will cause a lot of distortion.

                  因此,與其將您的圖像地理配準(zhǔn)到全局邊界框,不如嘗試將其地理配準(zhǔn)到更小的物體.在您的情況下,您正在添加相對(duì)于 maxZoom 的圖像疊加層,因此通過(guò)增加 maxZoom,您的圖像將覆蓋在地球的較小區(qū)域上,并且您將看到更少(或沒(méi)有)跨緯度的失真.

                  So, rather than georeference your image to a global bounding box, try georeferencing it to something much smaller. In your case, your are adding your image overlay relative to the maxZoom, so by increasing maxZoom, your image will be overlayed over a smaller area of the globe, and you will see less (or no) distortions across latitudes.

                  我將 maxZoom 從 4 更改為 14,結(jié)果看起來(lái)效果很好:fiddle here:var w = 553, h = 329, url = 'https://kathleenmillar.files.wordpress.com/2012/10/picture2.png';

                  I changed the maxZoom from 4 to 14, and the result looked like it worked well: fiddle here: var w = 553, h = 329, url = 'https://kathleenmillar.files.wordpress.com/2012/10/picture2.png';

                      var map = L.map('map', {
                          minZoom : 10,
                          maxZoom : 14,
                          center : [ w / 2, h / 2 ],
                          zoom : 11,
                          crs : L.CRS.Simple
                  
                      });
                  
                      // calculate the edges of the image, in coordinate space
                      var southWest = map.unproject([ 0, h ], map.getMaxZoom() - 3);
                      var northEast = map.unproject([ w, 0 ], map.getMaxZoom() - 3);
                      var bounds = new L.LatLngBounds(southWest, northEast);
                  

                  這篇關(guān)于傳單圓圈繪圖/編輯問(wèn)題的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(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è)邊欄)
                    <bdo id='bOhGz'></bdo><ul id='bOhGz'></ul>

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

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

                      <legend id='bOhGz'><style id='bOhGz'><dir id='bOhGz'><q id='bOhGz'></q></dir></style></legend>
                      • <tfoot id='bOhGz'></tfoot>

                            <tbody id='bOhGz'></tbody>
                            主站蜘蛛池模板: 亚洲一区二区在线免费观看 | 一区二区三区不卡视频 | 亚洲精品9999久久久久 | 久久久亚洲一区 | 久久亚洲视频网 | av一级 | 狠狠干综合视频 | 午夜视频在线 | 成人片免费看 | 99久久精品免费看国产四区 | 成人免费视频7777777 | 久久久久无码国产精品一区 | 国产精品国产三级国产播12软件 | 一级欧美黄色片 | 亚洲欧洲综合av | 亚洲资源站 | 国产激情视频在线观看 | 狠狠婷婷综合久久久久久妖精 | 91视频麻豆 | 国产精品一区二区免费 | 国产中文 | 国产亚洲网站 | 亚洲一区成人 | 欧美黑人国产人伦爽爽爽 | 国产精品亚洲综合 | 久久综合伊人 | 成人av观看 | 伊人网站在线观看 | 日韩成人在线视频 | 男女在线免费观看 | 亚洲一区免费视频 | 成人妇女免费播放久久久 | 手机在线一区二区三区 | 最新中文字幕第一页视频 | 91精品一区二区三区久久久久久 | 网页av| 黄色片免费看视频 | 天天躁日日躁aaaa视频 | 午夜影院污 | 欧美性影院 | 天天干人人 |