ReyhaneMasumi / mapbox-gl-draw-split-polygon-mode

A custom mode for MapboxGL Draw to split polygons
MIT License
24 stars 13 forks source link

Update package with fixes to constant imports #16

Open chalenascholl opened 2 months ago

chalenascholl commented 2 months ago

1) Updates the package to import the necessary constants in the correct manner, as the src folder is not exposed in the mapbox-gl-draw package

2) Include dist folder for now, so that others can use this repo, until we can hopefully get this change into the original package and published to npm as well.

chalenascholl commented 2 months ago

To use these changes instead of the original package, link to the github repo with these changes like so:

"mapbox-gl-draw-split-polygon-mode": "https://github.com/chalenascholl/mapbox-gl-draw-split-polygon-mode.git",

chalenascholl commented 2 months ago

@ReyhaneMasumi or @mhsattarian thanks for creating this custom mode! Are either of you able to review these changes?