I use the free version
And now in my file functions.php =>
function my_acf_google_map_api( $api ){
$api['key'] = 'AIzaSyCyzgGmDCh2sI0AZVs0u-...';
return $api;
}
add_filter('acf/fields/google_map/api', 'my_acf_google_map_api');
But in the console all the same errors %( http://joxi.ru/Dr8yqk9C44E3Qm
It did not help. I left only this code http://joxi.ru/Y2LYwWDs99gYXA in the functions.php file and now the map is not displayed http://joxi.ru/4AkoWYEtyyGL3A in the console such errors http://joxi.ru/Dr8yqk9C44E3Qm. I do not understand what I’m doing wrong. Please help me.
Hi! Im from Russia, and my English not so good, but i hope your can understand me. I have some problems with ACF google map.
I’ve created an API key (http://joxi.ru/1A5x8nJsnnQ8j2) and inserted it into file “wp-admin/admin-footer.php” in order to display the map in the admin’s site, like that >
<script type=”text/javascript” src=”http://maps.google.com/maps/api/js?key=MYKEY”></script>
and JS code that is on this page https://www.advancedcustomfields.com/resources/google..
and now ill see the map. (http://joxi.ru/Dr8yqk9C44y0Mm).
Cause if don’t insert that code into this file, the map has doesn’t work like that > http://joxi.ru/L21zkaJh88LQvA
But now i have some errors into console > http://joxi.ru/GrqXRwBuQQ6WEA
And when I enter an address in a row, nothing happens.
BUT I also did all as specified in this manual https://www.advancedcustomfields.com/resources/google..
functions -> http://joxi.ru/n2Yaw10Ioon8q2
in footer.php – > http://joxi.ru/DmBL9GRFww8D9A
And now my question. What did I do wrong? And how to solve this problem and remove errors from the console? Please help me.