L7Draw
L7Draw copied to clipboard
L7 绘制控件
### PR includes - [x] fix: 修复天地图上绘制失效问题 - [x] fix: 修复 L7 升级导致的 inversify 缺失问题 - [x] fix: 修复 leaflet 下经纬度获取失败的问题 ### Screenshot | Before | After | | ------...
### 💻 Features description [Please make everyone to understand it]  ### 🏞 What problem does this feature solve ### 🧐 What does the proposed API look...
### 💻 Features description [Please make everyone to understand it] 目前的DrawControl支持在地图上绘制多种图形,但是必须选中某一种类型,才可以编辑那一类下的所有图形。 ### 🏞 What problem does this feature solve 期望能够有一个配置项,能够在一个draw里面编辑多种绘制类型。 ### 🧐 What does the proposed API look like ###...
### 🐛 Bug description [Please make everyone to understand it] - _Required_ **Link to minimal reproduction**: https://stackblitz.com/edit/stackblitz-starters-vcs1rx?file=src%2FApp.tsx ### 📷 Step to reproduce ```javascript // 控制台调用 window._circle.disable() ``` ### 🏞 Expected...
### 🐛 Bug description [Please make everyone to understand it] > Please provide a link by forking these links [L7 Draw](https://codesandbox.io/s/l7draw-issue-template-df75t7) or GitHub repo, a minimal reproduction. 这个bug比较隐蔽,具体是webgl崩溃引起的,代码太多不好提供。 - _Required_...
### 💻 Features description [Please make everyone to understand it] 可将已经绘制的多边形进行挖洞 ### 🏞 What problem does this feature solve ### 🧐 What does the proposed API look like ### 🚑...
### 💻 Features description [Please make everyone to understand it] 提供在实例化之后设置是否允许二次编辑的方法 ### 🏞 What problem does this feature solve 目前只能在初始化的时候用 editable 参数设置是否允许二次编辑的方法,如果用户要在允许编辑和不允许编辑中切换需要重新实例化 ### 🧐 What does the proposed API look...
### 💻 绘制圆形时,可以显示半径距离线段,并且线段可以支持简单样式调整(虚线/实线)
### 💻 Features description [Please make everyone to understand it] 在渲染环形多边形时,L7的图层渲染是正确格式,如果采用L7draw进行绘制,则内部环装无法闭合。 环形多边形渲染 - L7Draw的渲染结果  - 高德datav的渲染结果 
### 🐛 Question description [Please make everyone to understand it] 只要开启默认吸附,直接报错,如何解决。 测试了多遍,推测应该是开始必须有一个图形,然后才能吸附。。。那么怎么动态开启吸附功能。。先画一个,然后Drawer销毁再配新的Drawer开吸附? let polygonDrawer = null; scene.on('loaded', () => { polygonDrawer = new L7.Draw.DrawPolygon(scene, { adsorbOptions: {}, }); polygonDrawer.enable(); });...