← 返回首页
GitHub - logisticinfotech/react-native-geocoding-reversgeocoding · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

logisticinfotech/react-native-geocoding-reversgeocoding

Go to file
Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
View all files

Repository files navigation

More items

react-native-geocoding-reversegeocoding

  • No need to use Native modules anymore.
  • No need to generate Google API key for geocoding functionality in react-native anymore.
  • This lib returns the Address/Lat-Lang WITHOUT using GOOGLE API key

Demo

Installation

npm install @logisticinfotech/react-native-geocoding-reversegeocoding

Android

It'll auto link the library. No need to manually install gradle project.

iOS

pod installation

cd ios pod install cd ..

If you're having M1 Chip Mac, please follow below command

cd ios arch -x86_64 pod install cd ..

Response/Output

: "getLocationFromAddress"

{ "result": { "lattitude": *2.3*****, "longitude": *0.7***** } }

: "getAddressFromLocation"

{ "result": { "adminArea": "**j**at", "city": "***ko**", "state": "**j**at", "country": "India", "countryCode": "IN", "feature": "8*****9F", "formattedAddress": "Ma*****, ****, ****006, India", "locality": "***ko**", "position": { "lat": "2.3*****", "lng": "0.7*****" }, "postalCode": "***00**", "streetName": "", "streetNumber": "", "subAdminArea": "***ko**", "subLocality": "****ap**" } }

Usage

import { getLocationFromAddress, getAddressFromLocation } from "react-native-geocoding-reversegeocoding"; // ... // ... const result = await getLocationFromAddress("Ma****ar chowk, Ra****"); // String or await getLocationFromAddress("Ma****ar chowk, Ra****") .then((response)=> { if(response?.result) { console.log(response.result) } }).catch((error)=>{ console.log(error) }) // ... // ... const result = await getAddressFromLocation(*2.33*****, *0.76*****); // Double or await getAddressFromLocation(*2.33*****, *0.76*****) .then((response)=> { if(response?.result) { console.log(response.result) } }).catch((error)=>{ console.log(error) })

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

1 star

Watchers

3 watching

Forks

Packages

 
 
 

Contributors

Footer

© 2026 GitHub, Inc.