rtchagas / pingplacepicker

An almost plug and play replacement for Google's Place Picker
Apache License 2.0
142 stars 55 forks source link

Cannot get place name #52

Closed EdozdeDandez closed 5 years ago

EdozdeDandez commented 5 years ago

I'm using this package for loading a place picker but I can't seem to get the name of the selected place. The getName function returns the coordinates of the place in degrees and direction format i.e 1° 17' 52" S, 36° 45' 54. How can I get the name of the place?

rtchagas commented 5 years ago

Hi @EdozdeDandez

This issue happens because your Maps API key is wrong and PING can't load the place details through Geocode API.

Please be sure that GeoCode API is enabled in your key and you correctly added the key to you project.