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
69 stars 41 forks source link

Current demo is broken #8

Closed caiusCitiriga closed 4 years ago

caiusCitiriga commented 4 years ago

The currently published demo is not working:

on load: Uncaught ReferenceError: Constants is not defined

on mouse interaction: index.js:1 Uncaught TypeError: Cannot read property 'mouseout' of null index.js:1 Uncaught TypeError: Cannot read property 'mousemove' of null index.js:1 Uncaught TypeError: Cannot read property 'mousedown' of null index.js:1 Uncaught TypeError: Cannot read property 'drag' of null

bemky commented 4 years ago

Maybe I messed up the build on github pages. I’ll check into it today.

lucasprograms commented 4 years ago

@bemky did you find a resolution to this? Is the package still working generally?

bemky commented 4 years ago

It is working fine for me in development. I think the demo on GitHub hasn’t been updated to the latest. I’m working to resolve that

bemky commented 4 years ago

Yes, I think I failed to update /docs when I setup webpack. It's fixed now. The demo should work. The build should have already been working. Thanks for heads up!