Title: How to reference Google Maps API
Last modified: September 1, 2016

---

# How to reference Google Maps API

 *  [median47](https://wordpress.org/support/users/median47/)
 * (@median47)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/how-to-reference-google-maps-api/)
 * My site uses the 2014 theme via a child theme. A problem with Google maps has
   recently arisen: the MapPress plugin will now only deliver a Google map with 
   the default view (the whole of North America) rather than a map centred on a 
   UK address specified within the plugin. Following MapPress advice, I have obtained
   and entered a Google Maps browser API key and enabled the Javascript and Geocoding
   APIs. No success. The MapPress FAQ goes on to suggest that the problem may be
   that the Google Maps API is being loaded twice and that it may be solved by editing
   functions.php and entering code similar to this:
 * function google() { wp_dequeue_script( ‘google-maps-api’ ); }
    add_action( ‘admin_enqueue_scripts’,‘
   my_et_pb_admin_scripts_styles’, 99, 1 );
 * The advice is to change ‘google-maps-api’ to the name actually used by the theme.
   What is that name, please?
 * Any other advice?

The topic ‘How to reference Google Maps API’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentyfourteen/4.5/screenshot.
   png)
 * Twenty Fourteen
 * [Support Threads](https://wordpress.org/support/theme/twentyfourteen/)
 * [Active Topics](https://wordpress.org/support/theme/twentyfourteen/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentyfourteen/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentyfourteen/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [median47](https://wordpress.org/support/users/median47/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/how-to-reference-google-maps-api/)
 * Status: not resolved