-
```
import MapboxDraw from "@mapbox/mapbox-gl-draw";
import { CircleMode, DirectMode, DragCircleMode, SimpleSelectMode } from "mapbox-gl-draw-circle";
const draw = new MapboxDraw({
displayContr…
-
I have implemented, circlet modes into my mapboxDraw, and I have created a button to call the circle Draw function , but I dont know how to that , what function should I put when "onClick()"
any hel…
-
**mapbox-gl-js version**: n/a
**mapbox-gl-draw version**: latest
Currently when writing a custom drawing mode for `@mapbox/mapbox-draw-gl` a whole heap of internal modules are required to be i…
-
when I change mode to 'drag_circle'……
![image](https://user-images.githubusercontent.com/7702529/82358826-a6c58f80-9a39-11ea-9ad9-3768b2d504cd.png)
dependents:
```
"@mapbox/mapbox-gl-draw": "…
-
"mapbox-gl": "^2.13.0",
**browser**: Chrome 124.0.0
### Steps to Trigger Behavior
This error is occurring by [Sentry](https://sentry.io/), I can't reproduce it on my machine. However, I c…
-
我的项目中因为需要画图,所以有mapbox-gl-draw控件,加载您这个工具后,发现不能正常工作,控制台报错:
caught Error: There is already a source with this ID
at Qt.addSource (style.js:718:19)
at Map.addSource (map.js:2004:20)
at Obj…
-
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used [patch-package](https://github.com/ds300/patch-package) to patch `mapbox-gl-draw-bezier-curve-mode@1.0.2` for the proje…
-
I have just installed this mapbox-gl-draw into my angular 15 project with the types. Each type I import the it like this:
`import * as MapboxDraw from '@mapbox/mapbox-gl-draw';`
It gives me an erro…
-
Adding the draw controls to a map affects the functionality of touch events for popups. Click events still fire as expected, but touch events no longer fire.
-
If you add layers to the map while you are using terra draw in maplibre or mapbox then those layers could be added above terra draw ones. It would be nice to have them always on top.
One solution c…