mapbox / mapbox/mapbox-gl-draw
Drawn features disappear for zoom level > 17
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 5
Description
With features drawn on map and zooming into the map beyond zoom level - 17 hides the features.
https://gph.is/g/aejoyDk
After having a brief look at the code - Looks like the maxzoom when adding the hot and cold source to the map is not set to 24 (which makes it default to 18). Is it somehow configurable?
**mapbox-gl-js version**: 0.53.0
**mapbox-gl-draw version**: 1.1.1
### Steps to Trigger Behavior
1. Draw a simple line string with user properties and zoom to level - 18
### Expected Behavior
Line string to be visible
### Actual Behavior
Line string is hidden
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
Reproduce the issue using mapbox-gl-js 0.53.0 and mapbox-gl-draw 1.1.1 by drawing a line string with user properties and zooming beyond level 17. Inspect where the hot and cold sources are added and how maxzoom is set; done means the line string remains visible at zoom level 18 and beyond.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100