You are on page 1of 1

Sample at:

http://www.facebook.com/pages/Test-Page/301396262700?v=app_6009294086
The code for this is grabbed from when you go to Google maps and map your address, it’s the link they provide
for embedding into a web page.

start code
-------------------------------
<a onClick="outside_location.setInnerFBML(link_1);" style="cursor: pointer;">Find Us on Google Maps</a> |
<a class="red" onClick="outside_location.setInnerFBML(link_2);" style="cursor: pointer;"</a>
<div id="outside_location"></div>
<fb:js-string var="link_1"><fb:iframe width="500" height="400" frameborder='0'
src='http://maps.google.com/maps?
q=Glynn+House+Inn&amp;gl=us&amp;hl=en&amp;cd=1&amp;ei=nhZ4S77mHJqgzATwmfiCBQ&amp;sll=4
3.697645,-
71.633493&amp;sspn=0.006295,0.006295&amp;ie=UTF8&amp;view=map&amp;cid=4264695629464882255
&amp;ved=0CEwQpQY&amp;hq=Glynn+House+Inn&amp;hnear=&amp;ll=43.70598,-
71.634636&amp;spn=0.024819,0.042915&amp;z=14&amp;iwloc=A&amp;output=embed'/></fb:js-string>
<script type="text/javascript" charset="utf-8">
var outside_location = document.getElementById('outside_location');
</script>

--------------------------------------------------------------------------------------------------------------------------------------
-

Sample at: http://www.facebook.com/pages/Test-Page/301396262700?v=app_7146470109


The code for this is grabbed from when you go to Google maps and map your address, it’s the link they provide
for inserting into an email

start code
-------------------------------
</B></FONT></div>
<div style="text-align:CENTER; margin-left:19px; margin-right:19px; "><FONT SIZE="4"
COLOR="#000000" FACE="Times New Roman"><A HREF="http://maps.google.com/maps?
q=Glynn+House+Inn&gl=us&hl=en&cd=1&ei=nhZ4S77mHJqgzATwmfiCBQ&sll=43.697645,-
71.633493&sspn=0.006295,0.006295&ie=UTF8&view=map&cid=4264695629464882255&ved=0CEwQpQY
&hq=Glynn+House+Inn&hnear=&ll=43.69751,-71.634067&spn=0.005228,0.013411&z=17&iwloc=A"
TARGET="_blank" TITLE="http://maps.google.com/maps?
q=Glynn+House+Inn&gl=us&hl=en&cd=1&ei=nhZ4S77mHJqgzATwmfiCBQ&sll=43.697645,-
71.633493&sspn=0.006295,0.006295&ie=UTF8&view=map&cid=4264695629464882255&ved=0CEwQpQY
&hq=Glynn+House+Inn&hnear=&ll=43.69751,-
71.634067&spn=0.005228,0.013411&z=17&iwloc=A"><U><B><IMG
SRC="http://www.forfeng.com/4d2f4f20.jpg" border=0 width="500" height="498" ALIGN="BOTTOM"
HSPACE="0" VSPACE="0"></B></U></A></FONT></div>
<bR>

Red is the link from Google Maps


Blue is the location where your map image is coming from.
Green is the dimension for you map.