The link to large map that appears below the IFRAME has this HTML code with an empty HREF: <a href="" target="_BLANK">Show large map</a>

Looking at the embed_gmap.module on line 253 (and splitting the long line for readability here), I see:

return '<iframe width="'. $width .'" height="'. $height 
   .'" frameborder="0" scrolling="no" marginheight="0" margin    width="0" src="'
   . $element['#item']['value'] .'"></iframe><p class="embed-gmap-link"><a href="'
   . str_replace('&amp;output=embed', '', $value) .'" target="_BLANK">'
   . t('Show large map') .'</a></p>';

It seems odd that the IFRAME's SRC is $element['#item']['value'], but the anchor's HREF is based on $value, an undefined variable.

Comments

andreashaugstrup’s picture

Yep, you're right. It's just something I missed when porting from D5 to D6. I'll get this fixed ASAP.

andreashaugstrup’s picture

Status: Active » Fixed

Should be fixed in version 1.2 of the module. Thank you for catching it!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.