Home › Forums › ACF PRO › Google Maps do not display › Reply To: Google Maps do not display
Hello loorlab
Thanks for the response.
I inserted all the code recommended above into my php files and verified that the API key entered was correct, but then again the map is a gray box.
ACF Customer Support recommened inserting the code as shown below,
but this did not resolve the problem:
global $post;
$location = get_field(‘map’, $post->ID);
One thing I noticed is that executing the code as shown below only returns ‘Array’…
Does this indicate anything?:
echo get_field(‘map’, $post->ID);
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.