react-map-gl-draw
react-map-gl-draw copied to clipboard
React Component for Mapbox GL Draw
Hi, I pushed a merge request which upgrades React from v16 to v17. Thank you in advance for merging and deploying. #28
Unable to draw on the map when serving the production build due to the above issue. Config: ``` "@urbica/react-map-gl": "^1.15.0", "@urbica/react-map-gl-draw": "^0.3.5", "react": "^18.2.0", "react-dom": "^18.2.0", "react-map-gl": "^7.0.17", "react-router-dom": "^6.3.0",...
resolves #13
I want to delete my shapes in a different way than they come by default. For example, pressing a button or confirming the "window.confirm" function. I can't access the trash...
Got this error when using [change mode example](https://urbica.github.io/react-map-gl-draw/#changemode).  For reproducing it, create a line or polygon and then click the map (the feature now cannot be edited) and then...
Hey, I am currently trying to use properties to set feature colors using the following syntax but having issues making styles work with properties. styles={[{ 'type': 'fill', 'paint': { 'fill-color':...
I have defined a custom draw mode as described at https://github.com/mapbox/mapbox-gl-draw/blob/main/docs/MODES.md#available-custom-modes. The custom mode makes use of modeOptions in its `onSetup` function, but these are not being passed via the...
When I use custom style in MapGL, I can not draw with react-map-gl-draw, It raised the error as follow: ``` Uncaught TypeError: Cannot read property 'setDirty' of null ``` Here...