Try to check console to see what error you are getting. Hard to say without the error.

Also, You need to be on the paid plan (on Bubble) to be able to access the Google Location API. So ensure you have that as well.