Comments (8)
from mapbox-gl-draw.
Note to people finding this issue: it looks like only the "display controls" are broken. I was able to hack together a PoC for my Vaadin integration by using a separate UI to trigger the draw mode (and using defaultMode constructor parameter to start drawing immediately): parttio/maplibre@edb0a49
from mapbox-gl-draw.
Hey everyone! Overriding classes in GL JS Draw sounds like a good addition. We already have constants in src/constants.js
, so implementing overriding should be straightforward. Does anyone want to take a first stab at it?
from mapbox-gl-draw.
I'll be happy to give it a go. I'm hoping to be able to work on it this week.
from mapbox-gl-draw.
Sounds like a good approach from my point of view.
@Pessimistress what is your solution for react-map-gl for these kind of issues?
@stepankuzmin what do you think should be the approach?
from mapbox-gl-draw.
Worked for me.
from mapbox-gl-draw.
This is not working for me. Any updates on this issue?
I'm using:
"maplibre-gl": "^4.1.1",
"@mapbox/mapbox-gl-draw": "^1.4.3",
from mapbox-gl-draw.
Unfortunately I've had to prioritize other work. We are using the latest of both libraries, and the workaround I posted on the MapLibre side is still working.
from mapbox-gl-draw.
Related Issues (20)
- map.setStyle() followed by mouse event sometimes causes layer not found error HOT 2
- How to get layer or layer id after drawing successfully?
- Detect when feature is being dragged instead of after update HOT 3
- how to draw a polygon above a 100% opacity polygon?
- Support custom draw modes for maplibre? HOT 1
- How to add draw on drawed feature? HOT 9
- How do I disable editing mode after polygon is being drawn?
- Is it possible to configure the drawing tool for lasso selection? HOT 1
- add control blocked while unassociated layer tiles are loading HOT 3
- activate point feature when set point to draw tool by draw.add and draw.changeMode
- Option to set controls titles HOT 1
- Can expressions be used within an interpolator?
- Drawing a LineString prematurely completes final double tap on touch devices HOT 1
- activateUIButton("myMode") and deactivate functionality
- Using Mapbox Draw with Mapbox elements HOT 1
- build dist doesn't work as a local node_modules package HOT 1
- Event that returns a list of coordinates while drawing
- coordinates returns in the wrong order from draw.create on polygon mode
- Incorrect Positioning of Intermediate Points When Drawing Polygons
- Can't Edit after Draw Polygon with Terrain
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapbox-gl-draw.