View Full Version : Google Maps as BBCODE?
ThorstenA
08-15-2009, 10:16 AM
Did anyone succeed in making a bbcode out of Google Maps?
<!-- Google Maps Element Code -->
<iframe frameborder="0" marginwidth="0" marginheight="0" border="0" style="border:0;margin:0;width:300px;height:250px;" src="http://www.google.com/uds/modules/elements/mapselement/iframe.html?maptype=roadmap&latlng=37.778687%2C-122.421242&mlatlng=37.778687%2C-122.421242&maddress1=San%20Francisco%2C%20CA&mtitl e=City%20of%20Daly%20City%20Parks%20%26%20Recreati on%3A%20Recreation%20Class%20Registration" scrolling="no" allowtransparency="true"></iframe>
Lynne
08-15-2009, 02:20 PM
I've never tried to. Did you try? What did you enter and what were the results?
1Unreal
08-15-2009, 07:33 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=193760" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=193760</a>
Jaxel
08-15-2009, 07:49 PM
That script WAY overdoes it... you can do it much easier, and without javascript...
<div align="center" style="margin: 5px 5px 5px 5px;">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" style="text-align:center"><iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{param}&output=embed"></iframe></td>
</tr>
</table>
</div>
http://maps.google.com/maps?q=8+Emerson+St,+Edison,+NJ+08820
It just uses the email/IM code from the google page.
ThorstenA
08-15-2009, 08:23 PM
https://vborg.vbsupport.ru/showthread.php?t=193760
Thanks! I installed this and then ...
That script WAY overdoes it... you can do it much easier, and without javascript...
<div align="center" style="margin: 5px 5px 5px 5px;">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
<tr>
<td class="thead" style="text-align:center"><iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{param}&output=embed"></iframe></td>
</tr>
</table>
</div>
http://maps.google.com/maps?q=8+Emerson+St,+Edison,+NJ+08820
It just uses the email/IM code from the google page.
saw that! Wow! That's really great. I installed this! Thanks :up:
Dismounted
08-16-2009, 01:16 AM
You could also add http://maps.google.com/maps before {param}. This would prevent being able to place different sites into the frame.
ThorstenA
08-16-2009, 09:14 AM
You could also add http://maps.google.com/maps before {param}. This would prevent being able to place different sites into the frame.
Then I get a http://maps.google.comhttp//www.google.com/maps?f=q&source=s_q... error
Dismounted
08-16-2009, 10:44 AM
After you do it, you only paste the last bit. ;)
?q=8+Emerson+St,+Edison,+NJ+08820
ThorstenA
08-16-2009, 11:35 AM
Thanks :D
Tommo224
09-02-2009, 02:25 AM
Took me a while to work out how to install it, didn't realise I had to go through "Add Custom BB Code"
Works beautifully, thank you :)
ThorstenA
09-03-2009, 10:57 AM
It's really a great bbcode.
pauldack
09-09-2009, 07:07 AM
Map looks good and I can confirm works on 3.8.0. The only problem is that the location marker isn't showing up. Any ideas anyone pls?
TimberFloorAu
09-09-2009, 10:18 PM
We use this code, and works beautifully. Thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.