BARF - Bay Area Riders Forum

Go Back   BARF - Bay Area Riders Forum > Community > Website / Geek Speak


Notices

Reply
 
Thread Tools Display Modes
Old 05-16-2011, 06:35 AM   #1
rodr
Veteran
 
rodr's Avatar
 
AMA #: 2846730
Contributor + + + +

Join Date: Dec 2009
Location: Oz
Motorcycles: CB500XA
Name: Rod
How to embed a Google Map

UPDATE 2015-06-06: This feature seems to be completely broken now. Sorry.

UPDATE 2015-05-10: The old instructions (quoted below) don't work any more. Furthermore the "new" Google Maps sucks. Do this instead:
  1. Go to https://maps.google.com/lochp and create your map.
  2. Get the map centered in a smallish window. You may have to experiment and come back to this step to get it right.
  3. Click the "Link" icon (looks like chain links).
  4. Click the text box under "Paste HTML to embed in website" to highlight its contents.
  5. Type Ctrl-C to copy it to the clipboard.
  6. To insert the map into the message that you composing, type "[gm ap]", then Ctrl-V, then "[/gm ap]". Do not type the space between "gm" and "ap", I just had to insert it here so the system will not interpret it as a map.
  7. Look for the first occurrence of "https://www.google.com/maps" or "https://maps.google.com/maps" in the string that you pasted in, and change it to "http://maps.google.com/lochp". Note there may be three changes here!
Also note that if you have a (long) link to an existing map, you can change "maps" to "lochp" as above to open and edit it in classic mode. Same thing to fix old maps that you have embedded.

Quote:
Originally Posted by rodr View Post
Many folks don't seem to know how to do this, so here's a quick summary.
  1. Go to maps.google.com and create your map.
  2. Click the "Link" icon (looks like chain links).
  3. click "Customize and preview embedded map". In the resulting new window, select "Large".
  4. Make final sizing and positioning adjustments to the map.
  5. If you want to show the satellite or terrain version of the map, click "Sat" or "Ter" accordingly.
  6. Click in the HTML area at the bottom, then Ctrl-A and Ctrl-C to copy it all to the clipboard.
  7. To insert the map into the message that you composing, type "[gm ap]", then Ctrl-V, then "[/gm ap]". Do not type the space between "gm" and "ap", I just had to insert it here so the system will not interpret it as a map.
  8. Look for the first occurrence of "https://" in the string that you pasted in, and change it to "http://". This is to work around an error message caused by a recent change to map URLs.

UPDATE 7/15/2014:

This doesn't work with the "new" Google Maps. You can click the question mark near the bottom right and return to the old version. Even with that, the "customize and preview" option seems to have gone away -- you get code to embed but it's not clear how you can control the size and positioning. If anyone has a clue about that let me know.

Last edited by rodr; 09-13-2015 at 07:44 PM.. Reason: New google maps sucks.
rodr is offline   Reply With Quote
Old 05-16-2011, 06:55 AM   #2
i_am_the_koi
Be Here Now
 
i_am_the_koi's Avatar
 
AMA #: 2823804
Contributor + + + + + + + + + + + + + + + + 8%

Join Date: Apr 2011
Location: Whine Country
Motorcycles: 2005 Concours 2002 KLR
Name: The Koi
Haha, thanks
i_am_the_koi is offline   Reply With Quote
Old 07-06-2011, 04:24 PM   #3
Griffindor
rookie
 
Griffindor's Avatar
 

Join Date: May 2011
Location: DiscoveryKingdom
Motorcycles: ___~~]○ / \ ● ●
Name: Will
let me try this.
Griffindor is offline   Reply With Quote
Old 07-06-2011, 05:33 PM   #4
biancaruslow
Newbie
 

Join Date: Jul 2011
Location: australia
Motorcycles: harley
Name:
thanks..
__________________
biancaruslow is offline   Reply With Quote
Old 07-06-2011, 06:11 PM   #5
Banjoboy
Get over yerself!!!
 
Banjoboy's Avatar
 
Contributor ++++

Join Date: Aug 2009
Location: Northbay
Motorcycles: '07 FJR speedshifter ('07 FJR, :rip ) '07 FZ6 (dirt bike)
Name: ANorris
Good stuff Rodr, but how do you do a pole?
__________________
باسم الله الرحمن الرحيم
Woody Allen is my hero
Quote:
Originally Posted by flying_hun View Post
The adventure is in the rider, not the bike
Quote:
Originally Posted by SpeedyCorky View Post
let the rider who has neither broken the speed limit, nor crossed the double yellow - throw the first stone
(and also sell their fuckin' bike! )
Banjoboy is offline   Reply With Quote
Old 07-06-2011, 07:12 PM   #6
rodr
Veteran
 
rodr's Avatar
 
AMA #: 2846730
Contributor + + + +

Join Date: Dec 2009
Location: Oz
Motorcycles: CB500XA
Name: Rod
Quote:
Originally Posted by Banjoboy View Post
Good stuff Rodr, but how do you do a pole?
A poll? There's an option for that when you start a new thread. When you do that, scroll down to the bottom and you'll see it. As I recall you set up the poll after the original message is posted.
rodr is offline   Reply With Quote
Old 06-19-2012, 09:47 PM   #7
rodr
Veteran
 
rodr's Avatar
 
AMA #: 2846730
Contributor + + + +

Join Date: Dec 2009
Location: Oz
Motorcycles: CB500XA
Name: Rod
I added a step #8 to the first posting, to deal with the "Wrong map URL" error.
rodr is offline   Reply With Quote
Old 07-14-2014, 12:14 PM   #8
rebekahlynn
racer x
 
rebekahlynn's Avatar
 
AMA #2956245
Barfie Winner 2017
Contributor + + + + + +
Barf Roadside Angel

Join Date: Oct 2011
Location: places
Motorcycles: fun ones
Name: rlb
I keep getting this - tried on both IE and Firefox, removed the s, added the gmap [] etc. Help please.

Short URL: https://goo.gl/maps/GdpNK

* in place of []

*gmap*<iframe src="http://www.google.com/maps/embed?pb=!1m76!1m12!1m3!1d789109.2840090617!2d-123.49697099164754!3d39.413763394698805!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!4m61!1i0!3e0!4m5!1s0x808f8fece9a2f0ff%3A0x8cd229daa3dc7bb9!2sSan+Leandro%2C+CA+94577!3m2!1d37.7199247!2d-122.1689284!4m5!1s0x54d2ecef79341c07%3A0x4e891699c4c59545!2sPonderosa+Inn+Redding%2C+2220+Pine+St%2C+Redding%2C+CA+96001!3m2!1d40.577616!2d-122.386854!4m5!1s0x54d25052db466a73%3A0xf5e198a5fc75beec!2sWeaverville%2C+CA!3m2!1d40.7309778!2d-122.94197079999999!4m5!1s0x54ce1423d0d23a83%3A0xc4bb4066332c405d!2sYreka%2C+CA!3m2!1d41.735418599999996!2d-122.63447079999999!4m4!2sCrater+Lake+Lodge%2C+Klamath+County%2C+OR!3m2!1d42.9099186!2d-122.14092409999999!4m5!1s0x54c8d4f041d24d63%3A0x855d56e2e955c244!2sMaverick+Motel%2C+1220+Main+St%2C+Klamath+Falls%2C+OR+97601!3m2!1d42.228134!2d-121.777474!4m5!1s0x54cf861b370d5bf1%3A0x26e5471bb81a2293!2s15370+Oregon+238%2C+Grants+Pass%2C+OR+97527!3m2!1d42.276196!2d-123.219005!4m5!1s0x54cff0eaa144ea39%3A0x2e0d1142815ae43!2sCave+Junction%2C+OR!3m2!1d42.1628912!2d-123.6481235!4m5!1s0x54d3ff83e6ff4ea7%3A0x2a860766b8290695!2sEureka%2C+CA!3m2!1d40.8020712!2d-124.1636729!4m5!1s0x808f8fece9a2f0ff%3A0x8cd229daa3dc7bb9!2sSan+Leandro%2C+CA+94577!3m2!1d37.7199247!2d-122.1689284!5e0!3m2!1sen!2sus!4v1405369434427" width="800" height="600" frameborder="0" style="border:0"></iframe>*/gmap*

Last edited by rebekahlynn; 07-14-2014 at 12:25 PM..
rebekahlynn is offline   Reply With Quote
Old 07-14-2014, 01:10 PM   #9
rodr
Veteran
 
rodr's Avatar
 
AMA #: 2846730
Contributor + + + +

Join Date: Dec 2009
Location: Oz
Motorcycles: CB500XA
Name: Rod
Seems to work for me. I pasted the HTML from the link popup and changed the first https to http. You can quote this post to get it all.

[gmap]<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?sll=40.3019735,-125.1942262&amp;sspn=6.4591423,11.310668&amp;geocode=FXWPPwIdoNm3-Cn_8KLp7I-PgDG5e9yj2inSjA%3BFVAqawIdWoa0-CkHHDR57-zSVDFFlcXEmRaJTg%3BFWKBbQId7Q2s-ClzakbbUlDSVDHsvnX8pZjh9Q%3BFfvUfAIdGb-w-CmDOtLQIxTOVDFdQCwzZkC7xA%3BFd_AjgIdBEe4-A%3BFaZZhAIdvtK9-CljTdJB8NTIVDFEwlXp4lZdhQ%3BFWQVhQIdw9On-CnxWw03G4bPVDGTIhq4G0flJg%3BFctagwIdhEeh-Ck56kSh6vDPVDFDrhUoFNHgAg%3BFaqEfwIdGEKk-CmhEVWoi97PVDGQ_t0LlAvybg%3BFReXbgIdp2mZ-CmnTv_mg__TVDGVBim4ZgeGKg%3BFXWPPwIdoNm3-Cn_8KLp7I-PgDG5e9yj2inSjA&amp;saddr=San+Leandro,+CA+94577&amp;via=8&amp;daddr=Ponderosa+Inn+Redding,+2220+Pine+St,+Redding,+CA+96001+to:Weaverville,+CA+to:Yreka,+CA+to:Crater+Lake+Lodge,+Klamath+County,+OR+to:Maverick+Motel,+1220+Main+St,+Klamath+Falls,+OR+97601+to:15370+Oregon+238,+Grants+Pass,+OR+97527+to:Cave+Junction,+OR+to:41.9114663,-123.4529049+to:Eureka,+CA+to:San+Leandro,+CA+94577&amp;dirflg=d&amp;ie=UTF8&amp;t=m&amp;ll=40.322792,-122.995438&amp;spn=5.209617,2.442225&amp;output=embed"></iframe><br /><small><a href="https://maps.google.com/maps?sll=40.3019735,-125.1942262&amp;sspn=6.4591423,11.310668&amp;geocode=FXWPPwIdoNm3-Cn_8KLp7I-PgDG5e9yj2inSjA%3BFVAqawIdWoa0-CkHHDR57-zSVDFFlcXEmRaJTg%3BFWKBbQId7Q2s-ClzakbbUlDSVDHsvnX8pZjh9Q%3BFfvUfAIdGb-w-CmDOtLQIxTOVDFdQCwzZkC7xA%3BFd_AjgIdBEe4-A%3BFaZZhAIdvtK9-CljTdJB8NTIVDFEwlXp4lZdhQ%3BFWQVhQIdw9On-CnxWw03G4bPVDGTIhq4G0flJg%3BFctagwIdhEeh-Ck56kSh6vDPVDFDrhUoFNHgAg%3BFaqEfwIdGEKk-CmhEVWoi97PVDGQ_t0LlAvybg%3BFReXbgIdp2mZ-CmnTv_mg__TVDGVBim4ZgeGKg%3BFXWPPwIdoNm3-Cn_8KLp7I-PgDG5e9yj2inSjA&amp;saddr=San+Leandro,+CA+94577&amp;via=8&amp;daddr=Ponderosa+Inn+Redding,+2220+Pine+St,+Redding,+CA+96001+to:Weaverville,+CA+to:Yreka,+CA+to:Crater+Lake+Lodge,+Klamath+County,+OR+to:Maverick+Motel,+1220+Main+St,+Klamath+Falls,+OR+97601+to:15370+Oregon+238,+Grants+Pass,+OR+97527+to:Cave+Junction,+OR+to:41.9114663,-123.4529049+to:Eureka,+CA+to:San+Leandro,+CA+94577&amp;dirflg=d&amp;ie=UTF8&amp;t=m&amp;ll=40.322792,-122.995438&amp;spn=5.209617,2.442225&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>[/gmap]
rodr is offline   Reply With Quote
Old 07-14-2014, 01:23 PM   #10
rebekahlynn
racer x
 
rebekahlynn's Avatar
 
AMA #2956245
Barfie Winner 2017
Contributor + + + + + +
Barf Roadside Angel

Join Date: Oct 2011
Location: places
Motorcycles: fun ones
Name: rlb
Oh you know what? I was using the "new" google maps - which I hate btw, and just figured out how to switch back. Our codes are totally different - stupid Google. The original maps link works as you said. Thanks!
rebekahlynn is offline   Reply With Quote
Old 07-14-2014, 01:40 PM   #11
rodr
Veteran
 
rodr's Avatar
 
AMA #: 2846730
Contributor + + + +

Join Date: Dec 2009
Location: Oz
Motorcycles: CB500XA
Name: Rod
Yeah the new stuff sucks.
rodr is offline   Reply With Quote
Old 07-15-2014, 08:55 AM   #12
rodr
Veteran
 
rodr's Avatar
 
AMA #: 2846730
Contributor + + + +

Join Date: Dec 2009
Location: Oz
Motorcycles: CB500XA
Name: Rod
I updated post #1 in an attempt tp keep this thread relevant.
rodr is offline   Reply With Quote
Old 07-15-2014, 09:56 AM   #13
rebekahlynn
racer x
 
rebekahlynn's Avatar
 
AMA #2956245
Barfie Winner 2017
Contributor + + + + + +
Barf Roadside Angel

Join Date: Oct 2011
Location: places
Motorcycles: fun ones
Name: rlb
rebekahlynn is offline   Reply With Quote
Old 05-10-2015, 06:32 PM   #14
rodr
Veteran
 
rodr's Avatar
 
AMA #: 2846730
Contributor + + + +

Join Date: Dec 2009
Location: Oz
Motorcycles: CB500XA
Name: Rod
Instructions changed once again in post #1.
rodr is offline   Reply With Quote
Old 05-11-2015, 11:35 AM   #15
Hoho
Ride to Eat
 
Hoho's Avatar
 
AMA #: 2760367
BARF Moderator - Kitchen Sink
Contributor + + + + + +

Join Date: Aug 2009
Location: East Bay
Motorcycles: Yamaha Hopper
Name: Hoho
Quote:
Originally Posted by rodr View Post
Instructions changed once again in post #1.
__________________
Not moderating until I tell you.

BARF TOS
Hoho is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:48 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.