Title: api key for google map
Last modified: September 1, 2016

---

# api key for google map

 *  Resolved [stardeuche](https://wordpress.org/support/users/stardeuche/)
 * (@stardeuche)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/api-key-for-google-map/)
 * Hi,
 * I work with a map field and i have got a problem with api keys. how add my api
   keys for run google map in the field map of carbon fields
 * with the old version, the map field working well.
 * i try to put my api key in a directory of carbon fields plugin (core/field/Map_field.
   php). this manipulation worked but it seems to me not compatible with a future
   plugin update.
 * how put our api key google map for the fields map of carbon fields ?
 * thanks so lot
 * [https://wordpress.org/plugins/carbon-fields/](https://wordpress.org/plugins/carbon-fields/)

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

 *  Plugin Author [htmlBurger](https://wordpress.org/support/users/htmlburger/)
 * (@htmlburger)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/api-key-for-google-map/#post-7552685)
 * Hi [@dewy](https://wordpress.org/support/users/dewy/),
 * 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).
 *  Thread Starter [stardeuche](https://wordpress.org/support/users/stardeuche/)
 * (@stardeuche)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/api-key-for-google-map/#post-7552690)
 * hi
 * ok i’m downloading the plugin from your link above this post and it’s works.
 * with this filter it’s more clean. thanks so lot
 * the plugin in the github it’s not same thing of the repository wordpress plugin?
 * thanks for your help
 *  Plugin Author [htmlBurger](https://wordpress.org/support/users/htmlburger/)
 * (@htmlburger)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/api-key-for-google-map/#post-7552696)
 * It’s the same plugin, however, we update the WordPress plugin when we have new
   major version(i.e. once every few months).
 * You can get the latest version of the plugin from GitHub.

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

The topic ‘api key for google map’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [htmlBurger](https://wordpress.org/support/users/htmlburger/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/api-key-for-google-map/#post-7552696)
 * Status: resolved