Title: Google Maps API Not Being recognised
Last modified: July 24, 2019

---

# Google Maps API Not Being recognised

 *  [nikcree](https://wordpress.org/support/users/nikcree/)
 * (@nikcree)
 * [7 years ago](https://wordpress.org/support/topic/google-maps-api-not-being-recognised/)
 * A bit of a weird one. Google Maps has stopped working and can’t figure out how
   to get to working again.
 * On the front the map is showing OK for this page ([https://watsonheadache.com/directory/?fwp_last_name=watson](https://watsonheadache.com/directory/?fwp_last_name=watson)).
   Screenshot: ([https://cl.ly/1d655e340e23](https://cl.ly/1d655e340e23))
 * But in the back the map is showing as not being connected to the API ([https://watsonheadache.com/wp-admin/post.php?post=28092&action=edit](https://watsonheadache.com/wp-admin/post.php?post=28092&action=edit)).
   Screenshot ([https://cl.ly/ecf3414fa2cc](https://cl.ly/ecf3414fa2cc))
 * Other entries show the map being connected to the API on the front but the location
   does not show but in the back the map is showing as not connected to the API.
   
   For example: Front: [https://watsonheadache.com/directory/?fwp_first_name=kyle](https://watsonheadache.com/directory/?fwp_first_name=kyle)(
   Screenshot [https://cl.ly/ac34d8d0aa1a](https://cl.ly/ac34d8d0aa1a)) Back: [https://watsonheadache.com/wp-admin/post.php?post=28491&action=edit](https://watsonheadache.com/wp-admin/post.php?post=28491&action=edit)(
   Screenshot: [https://cl.ly/6482d6d9dd8f](https://cl.ly/6482d6d9dd8f))
 * I have checked the API in with the debugging process here: [https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors](https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors).
 * – Are you using an API key? YES
    – Is billing enabled on your account? YES – 
   Is the provided billing method no longer valid (for example an expired credit
   card)? NO it is valid – Is there an exceeded self-imposed daily limit on the 
   API? NO – Does your API key have an IP addresses restriction? NO
 * The key has been added with the following code in the functions file:
    wp_enqueue_script(‘
   google-map-init’, CHILD_URL . ‘/js/google-maps.js’, array( ‘jquery’ ), ‘0.1’,
   true ); // Customising Maps Display with FacetWP Plugin (and attached as a reference(
   google-maps.js) wp_enqueue_script( ‘google-map’, ‘[https://maps.googleapis.com/maps/api/js?key=%5BOur-Google_Api-Key-Is-Here%5D&callback=drawMap.initMap&#8217](https://maps.googleapis.com/maps/api/js?key=%5BOur-Google_Api-Key-Is-Here%5D&callback=drawMap.initMap&#8217);,
   array( ‘jquery’, ‘google-map-init’ ), ‘3’, true );
 * Any ideas what may be happening here? Many thanks
 * Nik Cree
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-maps-api-not-being-recognised%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Google Maps API Not Being recognised’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields-google-map-extended/assets/icon-256x256.
   png?rev=1285012)
 * [ACF: Google Map Extended](https://wordpress.org/plugins/advanced-custom-fields-google-map-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields-google-map-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields-google-map-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields-google-map-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields-google-map-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields-google-map-extended/reviews/)

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)
 * [google maps api](https://wordpress.org/support/topic-tag/google-maps-api/)

 * 0 replies
 * 1 participant
 * Last activity: [7 years ago](https://wordpress.org/support/topic/google-maps-api-not-being-recognised/)
 * Status: not resolved