Google maps autocomplete js is working on localhost but not on heroku

前端 未结 2 1609
粉色の甜心
粉色の甜心 2021-01-06 12:56

I\'m a junior ruby on rails developer. I developed a web app that uses Google maps javascript API and I use the autocomplete function on a form input.

The autocompl

相关标签:
2条回答
  • 2021-01-06 13:36

    Enable "Google Places API Web Service" on Google API Console. It solved my problem when the website worked on localhost, but don't at Locaweb server.

    0 讨论(0)
  • 2021-01-06 13:42

    I has same issue too. just goto google console, enable the "Google Places API Web Service", then it will solved the problem.

    0 讨论(0)
提交回复
热议问题