Because Drupal assumes local JS scripts, your way doesn't work:
drupal_add_js("/maps.google.com/maps?file=api&v=2&key=". variable_get('cck_map_key', ''), 'inline');

Just use:
drupal_set_html_head('

');

Comments

beeradb’s picture

fokke: just for reference, what version of drupal are you running? I am on the latest 5.3 installation and that works fine for me. Either way i'll see what I can do tonight about merging that in if it's effecting other versions.

Thanks,
Brad

beeradb’s picture

Status: Needs review » Closed (fixed)

Fokke: I added that patch and have released a new version. I highly recommend upgrading.

Thanks again for the feedback.
Brad