php - Google map wont work from IFRAME -
i need generate map address (string)
the string itself:
1072 budapest rákóczi út 12.
this how put site:
<iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.hu/maps?q={$infos.address|escape:'url'}"></iframe>
and final output:
<iframe scrolling="no" frameborder="0" src="https://maps.google.hu/maps?q=1072%20budapest%20r%c3%a1k%c3%b3czi%20%c3%bat%2012." marginwidth="0" marginheight="0"></iframe>
and empty
add parameter output=embed
url.
this parameter force google send appropriate x-frame-options
-header
Comments
Post a Comment