hi there!
How to put this script:
<!-- Include Google Maps JS API --><script type="text/javascript"src="https://maps.googleapis.com/maps/api/js?key=INSERT_YOUR_MAP_API_KEY_HERE&sensor=false"></script>
in the head <head> section?
Thanks in advance.
regards,
bb
Hi Barong,
To put it in head section you should use the AddJavaScriptTag in the preparation.
And in its JavaScriptURL property put there: "https://maps.googleapis.com/maps/api/js?key=INSERT_YOUR_MAP_API_KEY_HERE&sensor=false"
The Javascript property of the module (or the screen) will put the javascript code into a separate javascript file.
Cheers,
José
As to my knowledge, Javascript can be put anywhere.
But if you must, here's my two cents:
Or add this in your Preparation Logic: