WAIT: Google Maps Api (JetEngine)

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.

I have saved the Google Maps API key in both JetEngine (for the map listing) and Bricks (for the map widget) so that I can use both the Bricks map widget and the maps listing on different pages (I do not use both on the same page).
Unfortunately, this inserts the API multiple times, resulting in the following errors.

If I remove the Google Maps API from Bricks, the maps widget does not work.
How can I fix this?

Maybe if you disable API here can help:


jmtc

Best regards,
Goran

Thanks Goran!
I had the same idea and actually on the frontend it works.
But on the backend in the CPT meta field the map does not appear, if I toggle this option.

Yes. Because that option will disable jetEngine JS files completely. Bricks is using those files just in the builder and the frontend.

You could use custom function which will include JS for Google Maps on your backend. Or you may set up JetEngine to use Different Map provider.

1 Like

Hey @bjoern,

thanks for your report.

Can you please send some temporary credentials to help@bricksbuilder.io so I can have a look at the setup? Please include a link to this forum report and let me know where exactly I have to look to see the issue in action.

Best,

André

thanks, Martin.
Probably I used the wrong term.
Actually it’s not the backend, but the admin area, where a user enters the data in a custom meta field.
What would the code have to look like?