mapbox / mapbox/mapbox-gl-draw
MapboxDraw is not a constructor
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 5
Description
mapbox-gl-js version: 1.12.0
mapbox-gl-draw version: 1.2.0
Framework: Angular 9
Steps to Trigger Behavior
- Install
- Import
- Start Angular App
Expected Behavior
Loads and works
Actual Behavior
I'm getting several error messages and it doesn't even load at all.
I saw some suggestions to change angular.json file or using old versions but those feel very ugly workarounds for me.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in an Angular 9 app using mapbox-gl-js 1.12.0 and mapbox-gl-draw 1.2.0, following the reported install, import, and start steps. Inspect the constructor errors and compare the behavior with the expected app loading successfully; no source file or test is identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100