The problem is solved!
My file https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY was connected via function.php – this is not correct. Correctly connect it through the script on the desired page, where we display the map. If the script is displayed on the page with the map form, then there will also be problems.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users