aws-amplify / aws-amplify/amplify-ui
FR: LocationSearch - Access to MaplibreGeocoder object
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 347
- Avg merge
- 18h 29m
- Merged PRs (30d)
- 9
Description
### On which framework/platform would you like to see this feature implemented?
React
### Which UI component is this feature-request for?
Other
### Please describe your feature-request in detail.
I would like to use the LocationSearch component outside of the map component and use the results for my own processing. In my case I would like to take the results from multiple LocationSearch components and use the results for my own routing.
### Please describe a solution you'd like.
I think a simple onValue callback would suffice for my use case. Plus a value setter if state needs to be restored for some reason.
### We love contributors! Is this something you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request.
- [ ] ⚠️ This feature might incur a breaking change.
Contributor guide
Research direction
Start by locating the React LocationSearch component and its MaplibreGeocoder integration, then inspect how the component currently stores and exposes its value. Define the callback and value-restoration behavior from the issue, and add or update tests showing that results can be consumed outside the map and restored when needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100