Automattic / Automattic/jetpack
Maps Block: Add Geolocation button to find current location
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
#### Is your feature request related to a problem? Please describe.
The search and location selection isn't perfect, and finding your "current" location isn't super easy.
#### Describe the solution you'd like
I think having a "You are Here" button that uses the [Geolocation API](https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API) would be beneficial and easy to implement.
I'm happy to look into this some and try my hand at a PR if you think this would be useful.
Contributor guide
Research direction
Locate the Maps Block entry point and read the MDN Geolocation API documentation linked in the issue. Confirm how the block currently handles search and location selection, then define completion as a visible current-location button that uses the browser location and updates the map appropriately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100