WAIT: Google Maps Not Displaying - "bricksMap is not a function" Error

Browser: Chrome 110
OS: Windows.
URL: Link to a page that illustrates this issue

I’m experiencing an issue with Google Maps not displaying properly on my property listing pages. When I view the page on the front end through Bricks, the map is appearing properly, but when I view in incognito or Firefox Google Maps is not showing up at all. I’ve already added the domain to the authorized referrers in Google Cloud Console.

When checking the developer console, I’m getting these specific errors

Uncaught (in promise) InvalidValueError: bricksMap is not a function
at _.jj (js?callback=bricksMap&v=3.exp&key=AIzaSyAzrjNZ0LEv6WUi4rJ50Am_vF1QV2EeYe8:164:123)
at nga (js?callback=bricksMap&v=3.exp&key=AIzaSyAzrjNZ0LEv6WUi4rJ50Am_vF1QV2EeYe8:281:252)
at js?callback=bricksMap&v=3.exp&key=AIzaSyAzrjNZ0LEv6WUi4rJ50Am_vF1QV2EeYe8:280:330

Has anyone encountered this “bricksMap is not a function” error with the Bricks Google Maps Element? Any guidance would be greatly appreciated.

Thanks!

Hello @luke,

I can’t reproduce the issue locally. But I see that you use some optimization plugins, can you try to disable them, and check again? You can also try by disabling all of them, just in case.

Let me know if that will solve it.

Best regards,
Matej