View Full Version : How do you post GMAPs map?


setasai
June 26th, 2011, 01:03 AM
I've been trying to do it for the past 20mins and I cant figure it out.

I followed the directions with the tags but it gives me the error below.

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=starbuck&amp;aq=&amp;sll=37.213287,-121.855944&amp;sspn=0.00822,0.01369&amp;ie=UTF8&amp;hq=starbuck&amp;hnear=&amp;t=h&amp;cid=1442546567926 7386267&amp;ll=37.249129,-121.857861&amp;spn=0.023913,0.036478&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://www.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=starbuck&amp;aq=&amp;sll=37.213287,-121.855944&amp;sspn=0.00822,0.01369&amp;ie=UTF8&amp;hq=starbuck&amp;hnear=&amp;t=h&amp;cid=1442546567926 7386267&amp;ll=37.249129,-121.857861&amp;spn=0.023913,0.036478&amp;z=14&amp;iwloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small>

Alex
June 26th, 2011, 01:06 AM
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=d&amp;source=s_d&amp;saddr=San+Jose,+CA&amp;daddr=San+Francisco,+CA&amp;hl=en&amp;geocode=Ffr AOQId1Ae8-Cn1P_mK5MqPgDF7cZ_KCoyduQ%3BFVJmQAIdKAe0-CkhAGkAbZqFgDH_rXbwZxNQSg&amp;mra=ls&amp;sll=37.0625,-95.677068&amp;sspn=59.119059,135.263672&amp;ie=UTF8&amp;ll=37.556175,-122.15915&amp;spn=0.43755,0.52834&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=d&amp;source=embed&amp;saddr=San+Jose,+CA&amp;daddr=San+Francisco,+CA&amp;hl=en&amp;geocode=F frAOQId1Ae8-Cn1P_mK5MqPgDF7cZ_KCoyduQ%3BFVJmQAIdKAe0-CkhAGkAbZqFgDH_rXbwZxNQSg&amp;mra=ls&amp;sll=37.0625,-95.677068&amp;sspn=59.119059,135.263672&amp;ie=UTF8&amp;ll=37.556175,-122.15915&amp;spn=0.43755,0.52834" style="color:#0000FF;text-align:left">View Larger Map</a></small>

Alex
June 26th, 2011, 01:08 AM
Like that. :-)

When you are looking at a google maps page, click the "Link" button near the top right of the page, and then grab all of the code that is under the: "Paste HTML to embed in website" heading.

You can also hit "customize and preview" map to tweak it to your liking, and then grab the HTML code right from there. Once you have it, put it between gmap opening and closing tags, and it should work fine.

setasai
June 26th, 2011, 12:53 PM
I did that. Exactly and it keeps saying that it's the wrong URL.

setasai
June 26th, 2011, 12:55 PM
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.google.com/maps?f=d&amp;source=s_d&amp;saddr=san+jose,ca&amp;daddr=san+francisco,+ca&amp;hl=en&amp;geocode=FfrA OQId1Ae8-Cn1P_mK5MqPgDF7cZ_KCoyduQ%3BFVJmQAIdKAe0-CkhAGkAbZqFgDH_rXbwZxNQSg&amp;mra=ls&amp;sll=37.213287,-121.855944&amp;sspn=0.00822,0.01369&amp;ie=UTF8&amp;ll=37.556175,-122.15915&amp;spn=0.43755,0.52834&amp;output=embed"></iframe><br /><small><a href="http://www.google.com/maps?f=d&amp;source=embed&amp;saddr=san+jose,ca&amp;daddr=san+francisco,+ca&amp;hl=en&amp;geocode=Ff rAOQId1Ae8-Cn1P_mK5MqPgDF7cZ_KCoyduQ%3BFVJmQAIdKAe0-CkhAGkAbZqFgDH_rXbwZxNQSg&amp;mra=ls&amp;sll=37.213287,-121.855944&amp;sspn=0.00822,0.01369&amp;ie=UTF8&amp;ll=37.556175,-122.15915&amp;spn=0.43755,0.52834" style="color:#0000FF;text-align:left">View Larger Map</a></small>

setasai
June 26th, 2011, 01:02 PM
<iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?msa=0&amp;msid=211475129011727899359.0004a58ff25fdd8ecaca5&amp;doflg=ptm&amp;ie=UTF8&amp;ll=3 7.492294,-121.714783&amp;spn=0.523016,0.878906&amp;z=10&amp;output=embed"></iframe><br /><small>View <a href="http://maps.google.com/maps/ms?msa=0&amp;msid=211475129011727899359.0004a58ff25fdd8ecaca5&amp;doflg=ptm&amp;ie=UTF8&amp;ll=3 7.492294,-121.714783&amp;spn=0.523016,0.878906&amp;z=10&amp;source=embed" style="color:#0000FF;text-align:left">Lick Observatory + Livermore 06-12-2011</a> in a larger map</small>

setasai
June 26th, 2011, 01:03 PM
Much better. It has been confirmed. Got to start with http://maps.google.com.