pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

    <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="me20ouq" id='5l5Vy'><tfoot id='5l5Vy'></tfoot><dl id='5l5Vy'><fieldset id='5l5Vy'></fieldset></dl></div>

        傳單圓圈繪圖/編輯問題

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

                  <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="u0oicmu" id='V9Z5I'><tfoot id='V9Z5I'></tfoot><dl id='V9Z5I'><fieldset id='V9Z5I'></fieldset></dl></div>
                  本文介紹了傳單圓圈繪圖/編輯問題的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

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

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

                  我面臨的問題是:-

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

                  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.

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

                  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.

                  我沒有使用像谷歌地圖這樣的地理地圖.我正在使用靜態圖像,因為這是我的項目要求.

                  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.

                  只需使用以下代碼即可啟用畫圈:

                  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
                  

                  推薦答案

                  您看到的是墨卡托投影固有的距離失真(以及基于它的谷歌墨卡托投影,這是大多數在線地圖所固有的).因為您的地圖從縮放 1 開始,所以向北/向南拖動圓形標記會導致很多失真.

                  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.

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

                  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,結果看起來效果很好: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);
                  

                  這篇關于傳單圓圈繪圖/編輯問題的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 圖層控件添加到側邊欄)
                    <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="cqoyy2e" 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>
                            主站蜘蛛池模板: 学考网学历中心| 培训无忧网-教育培训咨询招生第三方平台 | 企小优-企业数字化转型服务商_网络推广_网络推广公司 | MTK核心板|MTK开发板|MTK模块|4G核心板|4G模块|5G核心板|5G模块|安卓核心板|安卓模块|高通核心板-深圳市新移科技有限公司 | 双吸泵,双吸泵厂家,OS双吸泵-山东博二泵业有限公司 | 高通量组织研磨仪-多样品组织研磨仪-全自动组织研磨仪-研磨者科技(广州)有限公司 | 阿米巴企业经营-阿米巴咨询管理-阿米巴企业培训-广东键锋企业管理咨询有限公司 | 昆明网络公司|云南网络公司|昆明网站建设公司|昆明网页设计|云南网站制作|新媒体运营公司|APP开发|小程序研发|尽在昆明奥远科技有限公司 | 烟气在线监测系统_烟气在线监测仪_扬尘检测仪_空气质量监测站「山东风途物联网」 | 塑料撕碎机_编织袋撕碎机_废纸撕碎机_生活垃圾撕碎机_废铁破碎机_河南鑫世昌机械制造有限公司 | 机器视觉检测系统-视觉检测系统-机器视觉系统-ccd检测系统-视觉控制器-视控一体机 -海克易邦 | 广东恩亿梯电源有限公司【官网】_UPS不间断电源|EPS应急电源|模块化机房|电动汽车充电桩_UPS电源厂家(恩亿梯UPS电源,UPS不间断电源,不间断电源UPS) | 农业仪器网 - 中国自动化农业仪器信息交流平台 | 量子管通环-自清洗过滤器-全自动反冲洗过滤器-北京罗伦过滤技术集团有限公司 | 色谱柱-淋洗液罐-巴罗克试剂槽-巴氏吸管-5ml样品瓶-SBS液氮冻存管-上海希言科学仪器有限公司 | 等离子表面处理机-等离子表面活化机-真空等离子清洗机-深圳市东信高科自动化设备有限公司 | 成都亚克力制品,PVC板,双色板雕刻加工,亚克力门牌,亚克力标牌,水晶字雕刻制作-零贰捌广告 | 河南档案架,档案密集架,手动密集架,河南密集架批发/报价 | 背压阀|减压器|不锈钢减压器|减压阀|卫生级背压阀|单向阀|背压阀厂家-上海沃原自控阀门有限公司 本安接线盒-本安电路用接线盒-本安分线盒-矿用电话接线盒-JHH生产厂家-宁波龙亿电子科技有限公司 | 欧版反击式破碎机-欧版反击破-矿山石料破碎生产线-青州奥凯诺机械 | 地源热泵一体机,地源热泵厂家-淄博汇能环保设备有限公司 | 3d可视化建模_三维展示_产品3d互动数字营销_三维动画制作_3D虚拟商城 【商迪3D】三维展示服务商 广东健伦体育发展有限公司-体育工程配套及销售运动器材的体育用品服务商 | 智成电子深圳tdk一级代理-提供TDK电容电感贴片蜂鸣器磁芯lambda电源代理经销,TDK代理商有哪些TDK一级代理商排名查询。-深圳tdk一级代理 | 山楂片_雪花_迷你山楂片_山楂条饼厂家-青州市丰源食品厂 | 龙门加工中心-数控龙门加工中心厂家价格-山东海特数控机床有限公司_龙门加工中心-数控龙门加工中心厂家价格-山东海特数控机床有限公司 | 企业VI设计_LOGO设计公司_品牌商标设计_【北京美研】 | 户外健身路径_小区健身器材_室外健身器材厂家_价格-浩然体育 | 北京亦庄厂房出租_经开区产业园招商信息平台 | 优秀的临床医学知识库,临床知识库,医疗知识库,满足电子病历四级要求,免费试用 | 国产离子色谱仪,红外分光测油仪,自动烟尘烟气测试仪-青岛埃仑通用科技有限公司 | 洁净实验室工程-成都手术室净化-无尘车间装修-四川华锐净化公司-洁净室专业厂家 | 退火炉,燃气退火炉,燃气热处理炉生产厂家-丹阳市丰泰工业炉有限公司 | 高速龙门架厂家_监控杆_多功能灯杆_信号灯杆_锂电池太阳能路灯-鑫世源照明 | 扒渣机,铁水扒渣机,钢水扒渣机,铁水捞渣机,钢水捞渣机-烟台盛利达工程技术有限公司 | 西门子伺服电机维修,西门子电源模块维修,西门子驱动模块维修-上海渠利 | 彭世修脚_修脚加盟_彭世修脚加盟_彭世足疗加盟_足疗加盟连锁_彭世修脚技术培训_彭世足疗 | 安徽免检低氮锅炉_合肥燃油锅炉_安徽蒸汽发生器_合肥燃气锅炉-合肥扬诺锅炉有限公司 | 首页 - 军军小站|张军博客 | 垃圾清运公司_环卫保洁公司_市政道路保洁公司-华富环境 | 精密钢管,冷拔精密无缝钢管,精密钢管厂,精密钢管制造厂家,精密钢管生产厂家,山东精密钢管厂家 | 折弯机-刨槽机-数控折弯机-数控刨槽机-数控折弯机厂家-深圳豐科机械有限公司 |