mapbox / mapbox/mapbox-gl-compare
User location over compare maps
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 152
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
Would love to see the ability to request a user's location using `mapboxgl.GeolocateControl` to somehow overlay a user's location onto both comparison maps. Ideally a single location call to display the user's blue dot onto both maps, synchronized.
New to git & Mapbox so forgive me if I'm going about this all wrong.
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 reading the mapboxgl.GeolocateControl documentation and the repository's comparison-map entry points. Determine how one location request could be shared by both maps, then verify that both maps display synchronized user-location indicators when geolocation is enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100