react-geocode icon indicating copy to clipboard operation
react-geocode copied to clipboard

A React module to transform a description of a location (i.e. street address, town name, etc.) into geographic coordinates (i.e. latitude and longitude) and vice versa.

Results 12 react-geocode issues
Sort by recently updated
recently updated
newest added

Hello, im using the following code ` Geocode.setLanguage("en"); Geocode.setRegion("en"); Geocode.setLocationType = 'ROOFTOP'; Geocode.fromLatLng("48.13512530", "11.58198050").then( response => { if (response.results[0].formatted_address) { console.log(response.results[0].formatted_address); const formattedAddressArray = response.results[0].formatted_address.split(' '); const getCity = formattedAddressArray[formattedAddressArray.length...

Hi, In the Geocoding of google, you have now the possibility to do a restriction on the postal code. You can append this like that : components=country:CH|postal_code:8000 Here the documentation...

feature request

Hi @shukerullah , Thanks for this great package. Can you please help me how to add this code into a function which will take address as argument and return an...

it will be very helpful if you can provide sample response object from the functions in README.md & npm. Thanks You

enhancement

My team is using Typescript with this package. Can we have a type definition file?

enhancement
feature request

I cannot use Geocode.setLocationType("ROOFTOP");

Hi there, I'm using this library for geocoding purpose in my react code, and the API key is exposed in the request under query params, is there a way to...

Geocode.fromLatLng(18.506252400000001046000,73.910446399999997879600) I am getting wrong address by this lat lng. actual on map - ' Soli Poonawalla Rd, Bhaskar Colony, Fatima Nagar, Wanowrie, Pune, Maharashtra 411022 ' but i am...

To allow to get geocode infos using the `place_id` string