{"id":26472608,"url":"https://github.com/bizzarrowebgroup/react-native-geocode","last_synced_at":"2026-04-18T13:36:17.516Z","repository":{"id":38896363,"uuid":"261336842","full_name":"bizzarrowebgroup/react-native-geocode","owner":"bizzarrowebgroup","description":"A React Native library that transform a description of a location into geographic coordinates","archived":false,"fork":false,"pushed_at":"2023-01-06T05:01:12.000Z","size":3325,"stargazers_count":2,"open_issues_count":17,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-18T13:11:44.572Z","etag":null,"topics":["expo","geolocation","google-maps-api","json","latlng","react-hooks","react-native","react-native-example"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bizzarrowebgroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-05-05T01:43:01.000Z","updated_at":"2020-06-13T07:25:09.000Z","dependencies_parsed_at":"2023-02-05T09:16:47.644Z","dependency_job_id":null,"html_url":"https://github.com/bizzarrowebgroup/react-native-geocode","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizzarrowebgroup%2Freact-native-geocode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizzarrowebgroup%2Freact-native-geocode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizzarrowebgroup%2Freact-native-geocode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bizzarrowebgroup%2Freact-native-geocode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bizzarrowebgroup","download_url":"https://codeload.github.com/bizzarrowebgroup/react-native-geocode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244227551,"owners_count":20419258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expo","geolocation","google-maps-api","json","latlng","react-hooks","react-native","react-native-example"],"created_at":"2025-03-19T21:35:09.697Z","updated_at":"2026-04-18T13:36:17.478Z","avatar_url":"https://github.com/bizzarrowebgroup.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-geocode\n\n[![runs with expo](https://img.shields.io/badge/Runs%20with%20Expo-000.svg?style=flat-square\u0026logo=EXPO\u0026labelColor=f3f3f3\u0026logoColor=000)](https://expo.io/)\n![issues tracker](https://img.shields.io/github/issues/bizzarrowebgroup/react-native-geocode)\n![license](https://img.shields.io/github/license/bizzarrowebgroup/react-native-geocode)\n\ntransform a description of a location into geographic coordinates\n\n## Installation\n\n```sh\nyarn add react-native-geocode\n```\n\n## Usage\n\n# Initialize the Geocode library with\n\n```js\nimport Geocode from \"react-native-geocode\";\n...\n\nGeocode.intialize(\"GMAPS-API-KEY\");\n// or with options\nGeocode.intialize(\"GMAPS-API-KEY\", {language : \"en\"});\n```\n\n| Accepted props | Type   | Description            |\n|----------------|--------|------------------------|\n| apiKey         | String | Google Maps Apikey     |\n| options        | Object | Google Geocode Options |\n\n[for options props see](https://developers.google.com/maps/documentation/geocoding/intro#geocoding)\n\n# You can call the from function with these parameters\n\n| Accepted parameter    | Type    |\n|-----------------------|---------|\n| Address               | String  |\n| {lat, lng}            | Object  |\n| {latitude, longitude} | Object  |\n| [latitude, longitude] | Array   |\n| (latitude, longitude) | Numbers |\n\n### Others examples (See also the example folder)\n\n```js\n// Geocode\nGeocode.from(\"Colosseum\").then(json =\u003e {\n    var location = json.results[0].geometry.location;\n    console.log(location);\n}).catch(error =\u003e console.warn(error));\n\n// Geocode from location\nGeocode.from(41.89, 12.49).then(json =\u003e {\n    var addressComponent = json.results[0].address_components[0];\n    console.log(addressComponent);\n}).catch(error =\u003e console.warn(error));\n\n// Geocode from latitude\nGeocode.from({\n\tlatitude : 41.89,\n\tlongitude : 12.49\n});\n\n// Geocode from latlng object\nGeocode.from({\n\tlat : 41.89,\n\tlng : 12.49\n});\n\n// Geocode from array\nGeocode.from([41.89, 12.49]);\n```\n\n## License\n\nMIT\n\n## Release Note\n\n### 0.1.0\n\n- Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbizzarrowebgroup%2Freact-native-geocode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbizzarrowebgroup%2Freact-native-geocode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbizzarrowebgroup%2Freact-native-geocode/lists"}