node-geocoder icon indicating copy to clipboard operation
node-geocoder copied to clipboard

added place_id support to google geocoder

Open vasilevich opened this issue 7 years ago • 0 comments

Google has place_id support in its geocoder So I added it in accordance with the official google api and left lat/lon support intact.

it will give priority to lat/lon , but if lat/lon is empty, it will check if you sent the place_id variable.

why do I need place_id? because apis such as google places autocomplete Do not return lat/lon rather simpley a place_id.

Thank you!

vasilevich avatar Sep 21 '17 19:09 vasilevich