aws-amplify / aws-amplify/amplify-ui

FR: LocationSearch - Access to MaplibreGeocoder object

Open
#2,260 1 comment 0 reactions 0 assignees View on GitHub
feature-request Map
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.