react-native-map-link icon indicating copy to clipboard operation
react-native-map-link copied to clipboard

Pass an address as a parameter instead of a long-lat parameters

Open MedRaid opened this issue 3 years ago • 4 comments

can we passe an adresse as a paramater instead of a long-lat parameters ?

MedRaid avatar Feb 16 '22 14:02 MedRaid

Hi, can we bump this?

Often users enter 'almost' addresses without accepting auto-matched suggestions, meaning we dont have lat/lng available, even though the entered text is sufficient for maps to work out where it is.

This is a pretty important quality of life option

stevenmathers avatar Sep 12 '23 05:09 stevenmathers

Has any thought or effort gone into this? It started almost 2 years ago! Without being able to pass the address, this library is pretty useless unless you have the latitude and longitude coordinates.

trevorrd avatar Dec 14 '23 00:12 trevorrd

It's not a use case I personally have, because I want to send users to a specific location rather than doing a search, but I can understand why that would be useful.

I'm still happy to accept a PR for that functionality if you'd like to add it!

tschoffelen avatar Dec 14 '23 14:12 tschoffelen

I've created a PR for this new functionality. I would love to have others check out the changes, test it out, etc... then if we look good, let's merge it into master!

https://github.com/includable/react-native-map-link/pull/272

trevorrd avatar Mar 01 '24 22:03 trevorrd

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar May 29 '24 01:05 github-actions[bot]

Closing as fixed - addressed in #272, with a fix pending in #293

tschoffelen avatar May 30 '24 07:05 tschoffelen