How do you add remote javascript script with custom parameters? There are many tutorials on adding js to themes in Drupal 7, but the examples for Omega Sub Themes seem to omit the part about remote scripts, scope and weight:

In the theme .info file: 

scripts[] = js/map.js


So how do I specify remote URL, header or footer, and what weight to assign?

scripts[] = https://maps.googleapis.com/maps/api/js?key=XXX&amp;sensor=false


results in &lt;script src="&amp;amp;muqqwd"&gt;&lt;/script&gt; and even if it did work, I still need it to be in the header.
External javascript files can't be declared inside the theme.info file, unfortunately. Inside your template.php file, you'll have to add something like this:

&lt;?php
  drupal_add_js('https://maps.googleapis.com/maps/api/js?key=XXX&amp;sensor=false', 'external');