Hi,
I have Google maps setup with an API key.
Code is resident in the functions.php
function my_add_google_maps_api_key() {
wp_enqueue_script( ‘x-google-map’, ‘https://maps.googleapis.com/maps/api/js?key=AIzaSyDJhEicZvfnoYmoWwHkXswE2KO2sqINlwM’ );
}
add_action( ‘wp_enqueue_scripts’, ‘my_add_google_maps_api_key’, 100 );
the map appears OK when published, but does not appear in the workspace… hence I’m unable to edit it.
I have tested it with two different elements across two content layouts.
Please advise.