Geographical address search box is unresponsive

I have a search box for geographical address
But issue is sometime I have to reload the page to make the address search results appear.
50% time it all good but rest of the time it’s not showing the results .
Any ideas to solve it out
Thanks,

I assume you’ve done this, but is some issue reported in the console? Also, I assume you’re using your own geocoding API key?

Yes I am using my own geo coding API and also in the console I saw the message that – you have used the maps platform API multiple places this error was showing over there whenever the search box isn’t loading properly…

Well, there you go. Whatever that error message is telling you, resolve that.

here is what i am getting when the searchbox geo address is not returing any suggestions

You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘Dv’)
at js?v=3&callback=initialize_google_map_api&libraries=places&language=en&key=

* _.te

1. message: "not a LatLngBounds or LatLngBoundsLiteral: not an Object"
2. name: "InvalidValueError"

Uncaught (in promise) TypeError: Cannot read properties of null (reading ‘getQueryPredictions’)

content.bundle.js:1 Uncaught TypeError: Cannot set properties of undefined (setting ‘maxLeft’)

Uncaught TypeError: Cannot set properties of undefined (setting ‘maxLeft’)

Also, none of these issues are there when i refresh the page.
every time i have to reload to get that working

Can any help me out with the above issues displayed on console…

This topic was automatically closed after 70 days. New replies are no longer allowed.