ok i try the first solution. i put my api key in the code plugin.
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
Hi @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.
@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
Hope this answers your question.
ok, perfect, thanks for the link of update of google maps api
thanks so lot