Certainly!
Here is the code I used with [GMAP] tag:
PHP Code:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&hl=pt-BR&q=Liberdade,+S%C3%A3o+Paulo+-+SP,+Brasil&ie=UTF8&cd=1&geocode=FdJhmP4de304_Q&ll=-23.558323,-46.62529&spn=0.036583,0.054932&z=14&iwloc=addr&output=embed& s=AARTsJrSb_gFa1Ssu_1wwOFTDbl5gJKezg"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&hl=pt-BR&q=Liberdade,+S%C3%A3o+Paulo+-+SP,+Brasil&ie=UTF8&cd=1&geocode=FdJhmP4de304_Q&ll=-23.558323,-46.62529&spn=0.036583,0.054932&z=14&iwloc=addr&source=embed" style="color:#0000FF;text-align:left">Exibir mapa ampliado</a></small>
And here the source code of my page after posted:
PHP Code:
<script type="text/javascript">
function checkURL()
{
if ((url.indexOf("http://")!=url.lastIndexOf("http://"))||url.lastIndexOf("http://")!=0){return false;}
if (url.indexOf('"')>=0) {return false;}
if (url.indexOf("http://maps.google")!=0){return false;}
return true
}
tot='';
tot_ini="<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/?ie=UTF8&ll=40.84706,-98.448486&spn=2.576261,5.806274&z=8&output=embed&s=AARTsJqzARj-Z8VnW5pkPMLMmZbqrJcYpw"></iframe><br /><small><a href="http://maps.google.com/?ie=UTF8&ll=40.84706,-98.448486&spn=2.576261,5.806274&z=8&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>";
tot_no_quo=tot_ini.replace(/"/g,'"');
if(tot_no_quo.indexOf("[url")>0)
{ //The URL affaire...
if(tot_no_quo.indexOf('[url="')>0) {tot=tot_no_quo.substr(tot_no_quo.indexOf('[url="')+6,tot_no_quo.length);tot_no_quo='';}
if(tot_no_quo.indexOf('[url=')>0) {tot=tot_no_quo.substr(tot_no_quo.indexOf('[url=')+5,tot_no_quo.length);tot_no_quo='';a=tot.replace(/\]/g,'"');tot=a;}
if(tot_no_quo.indexOf('[url]')>0) {tot=tot_no_quo.substr(tot_no_quo.indexOf('[url]')+5,tot_no_quo.length);a=tot.replace(/\[/g,'"');tot=a;}
}
else
{ tot=tot_no_quo.substr(tot_no_quo.indexOf('src="')+5,tot_no_quo.length);}
url=tot.substr(0,tot.indexOf('"'));
urlp=url.replace(/amp;/g,'');
url=urlp;
if (checkURL())
{
document.write('<iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="'+url+'"></iframe>');
}
else
{
document.write("<p><b>La URL que has passat per al mapa contenia errors, edita el post per arreglar-ho</b></p>Recorda que cal enganxar el contingut del camp que indica que es per enganxar en una web.<br />Un cop arreglat el post, has de recarregar la plana per poder veure si ha funcionat.");
}
</script>