bemky / mapbox-gl-draw-freehand-mode

Mode for Mapbox GL Draw that simplifies UI to only free drawing
https://github.com/mapbox/mapbox-gl-draw
ISC License
70 stars 43 forks source link

fix: regression caused by missing DrawPolygon.onStop #16

Closed ericdong79 closed 2 years ago

ericdong79 commented 2 years ago

This is to fix a regression introduced in previous PR #15, in which I added onStop method, but missed that it needs to call the onStop from DrawPolygon. Otherwise the draw.create event cannot be fired properly. Thanks.

bemky commented 2 years ago

Thanks @ericdong79