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('&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
Comment #1
andreashaugstrup commentedYep, you're right. It's just something I missed when porting from D5 to D6. I'll get this fixed ASAP.
Comment #2
andreashaugstrup commentedShould be fixed in version 1.2 of the module. Thank you for catching it!