NO BUG: Unable to render map from ACF field

Browser: Vivaldi 6.6.3271.61 & Firefox
OS: macOS Catalina
URL: Link to a page that illustrates this issue

I have “Find a teacher” page made using Gridbuilder map facet which displays Users’ locations. The locations are pulled from an ACF Google map field inside a repeater. This is working fine.

When clicking on a single teacher, it takes you to their Profile page (strangely having to be an Author Archive individual template but that’s another story!..).

On the profile page I’m attempting to display their map address by using the acf field as the address - ie {acf_venue_map_address}. This displays nothing. What’s strange is if I manually put in long. and lat. coordinates, still nothing is displayed.

The Google API is working fine, or else the Find a teacher page would not work.

Hi Mick,
Thanks so much for your report!

We received a similar report 12 days ago, but have not yet received any feedback. The error displayed in the console is identical for both reports and you are both using perfmatters.

Uncaught ReferenceError: google is not defined
    at infobox.min.js:1:1061

Unfortunately, I don’t yet know how to reproduce the problem.
Have you already deactivated perfmatters (and other plugins)?

If the issue still exists, please send temporary login credentials and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase.

Best regards,
timmse

Hi Timmse

Many thanks. I tried it with Perfmatters deactivated and sure enough the map element itself then works - but only if I manually add coordinates to lng and lat. If I try to use the address field with the dynamic output from the ACF map, there’s just a grey box.

Later today I can send you login details to investigate. Thanks again.

Ok, please send the access data and a link to this thread by e-mail, and we’ll be happy to take a look :v:

I’ve set up a staging site and sent the login details.

Hi Mick,
Thanks for the access data! It looks like you just forgot the repeater loop around the map. As soon as I add it, the map will show fine :slight_smile:

Thank you so much Stefan. I am new to repeaters, so I didn’t know this was necessary! Very happy it’s so simple :sweat_smile: