Title: Google  Map ApiKey
Last modified: September 1, 2016

---

# Google Map ApiKey

 *  Resolved [alex shandor](https://wordpress.org/support/users/mvshandor/)
 * (@mvshandor)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/google-map-apikey/)
 * Hi,
 * I have added the Map Key to the code plugin ([https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY](https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY)),
   because I have not found another way.
 * Perhaps, you may add method like
    Field::make(‘map’, ‘course_details_location’,‘
   Location’)->set_position(0, 0, 14)->set_apikey(API_KEY)
 * [https://wordpress.org/plugins/carbon-fields/](https://wordpress.org/plugins/carbon-fields/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [stardeuche](https://wordpress.org/support/users/stardeuche/)
 * (@stardeuche)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/google-map-apikey/#post-7555133)
 * ok i try the first solution. i put my api key in the code plugin.
 *  [stardeuche](https://wordpress.org/support/users/stardeuche/)
 * (@stardeuche)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/google-map-apikey/#post-7555134)
 * but in my old project i don’t touch the code plugin for works google map in my
   back office.
 * with a last update, perhaps the plugin works little changed. it’s normal or not?
 * thanks for your response
 * bye
 *  Plugin Author [htmlBurger](https://wordpress.org/support/users/htmlburger/)
 * (@htmlburger)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/google-map-apikey/#post-7555139)
 * Hi [@mvshandor](https://wordpress.org/support/users/mvshandor/),
 * Adding a new `set_apikey()` method on the `Google Maps Field` will require you
   to have a duplicate code, if you have multiple fields of this type.
 * Instead, we have added a new filter called “carbon_map_api_key”, which allows
   you to define your Google Maps API key. For example:
 *     ```
       add_filter( 'carbon_map_api_key', 'crb_google_maps_api_key' );
       function crb_google_maps_api_key() {
           return ''; // Your API Key goes here
       }
       ```
   
 * This change will take place in the next version of Carbon Fields. In the meantime,
   feel free to download and use the latest release from [https://github.com/htmlburger/carbon-fields](https://github.com/htmlburger/carbon-fields).
 *  Plugin Author [htmlBurger](https://wordpress.org/support/users/htmlburger/)
 * (@htmlburger)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/google-map-apikey/#post-7555140)
 * [@dewy](https://wordpress.org/support/users/dewy/),
 * Google Maps changed their policy and since the 22nd of June, they don’t allow
   requests without an API key.
 * More information about the change can be found here – [Building for Scale: Updates to Google Maps APIs Standard Plan](http://googlegeodevelopers.blogspot.bg/2016/06/building-for-scale-updates-to-google.html)
 * Hope this answers your question.
 *  [stardeuche](https://wordpress.org/support/users/stardeuche/)
 * (@stardeuche)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/google-map-apikey/#post-7555143)
 * ok, perfect, thanks for the link of update of google maps api
 * thanks so lot
 *  Plugin Author [htmlBurger](https://wordpress.org/support/users/htmlburger/)
 * (@htmlburger)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/google-map-apikey/#post-7555154)
 * You’re welcome.
 *  Thread Starter [alex shandor](https://wordpress.org/support/users/mvshandor/)
 * (@mvshandor)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/google-map-apikey/#post-7555164)
 * thanks

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Google Map ApiKey’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/carbon-fields_cacbcc.svg)
 * [Carbon Fields](https://wordpress.org/plugins/carbon-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/carbon-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/carbon-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/carbon-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/carbon-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/carbon-fields/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [alex shandor](https://wordpress.org/support/users/mvshandor/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/google-map-apikey/#post-7555164)
 * Status: resolved