react-places-autocomplete icon indicating copy to clipboard operation
react-places-autocomplete copied to clipboard

GeocodeByAddress : Restrict search only to Address having Pincode

Open satejrajam30 opened this issue 7 years ago • 1 comments

Hi,

Thank you for the plugin.

I am trying to get addresses by using geocodeByAddress();

This returns the correct result, my issue is I am filtering locations by their pincode, which is giving in the json response as address_components.

The issue is not all addresses have the address_components containing the pincode.

Is there a way where I can only display suggestions which has the address_component containing the pincode of the respective location.

Thank you.

satejrajam30 avatar May 12 '18 13:05 satejrajam30

reverse geocode using lat and long values. you will get the pincode

vishaldeepverma avatar Sep 05 '20 19:09 vishaldeepverma