Mathieu Roll
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
4 years ago
#19998
::
Hello Klaus,
you can create a Library and in the Include Script you can extend the header as followed.
addAfterInitHandler(
function() {
var script = $(‘<script>’)
.attr(‘type’,’text/javascript’)
.attr(‘src’, ‘https://maps.googleapis.com/maps/api/js?key=yourkey’);
$(‘head’).append(script);
});