ibenick
Active member
I've found a handful of threads on the forum about embedding a google map into a thread but can't find one that addresses it how I intend. I've seen this in action on a vBulletin forum and I would like to be able to duplicate the functionality.
There are two separate codes, one for embedding a standard google map and one for a saved google map. On the vBulletin site I've seen this on, all you need to do is paste the link to the map in between the respective bbcode, either [MAP] or [SAVEDMAP] and it displays in the post.
Example link for the standard map:
http://maps.google.com/maps?q=40.64...&sspn=0.07305,0.075617&vpsrc=6&gl=us&t=m&z=15
and iframe:
And example link for a saved map:
http://maps.google.com/maps/ms?msid=214533597045798101523.0004ab3207d5084c73710&msa=0
and iframe:
Is there something already out there that can make this happen with BB Code in XenForo? I tried to tweak the google map code that works off coordinates from Brogan but had no success.
There are two separate codes, one for embedding a standard google map and one for a saved google map. On the vBulletin site I've seen this on, all you need to do is paste the link to the map in between the respective bbcode, either [MAP] or [SAVEDMAP] and it displays in the post.
Example link for the standard map:
http://maps.google.com/maps?q=40.64...&sspn=0.07305,0.075617&vpsrc=6&gl=us&t=m&z=15
and iframe:
Code:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q=40.641377,-110.82231&hl=en&sll=40.663092,-110.873839&sspn=0.07305,0.075617&vpsrc=0&gl=us&t=m&ie=UTF8&z=14&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?q=40.641377,-110.82231&hl=en&sll=40.663092,-110.873839&sspn=0.07305,0.075617&vpsrc=0&gl=us&t=m&ie=UTF8&z=14&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
And example link for a saved map:
http://maps.google.com/maps/ms?msid=214533597045798101523.0004ab3207d5084c73710&msa=0
and iframe:
Code:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?msa=0&msid=214533597045798101523.0004ab3207d5084c73710&hl=en&ie=UTF8&t=p&vpsrc=1&ll=37.539531,-113.161448&spn=0.007198,0.028985&output=embed"></iframe><br /><small>View <a href="http://maps.google.com/maps/ms?msa=0&msid=214533597045798101523.0004ab3207d5084c73710&hl=en&ie=UTF8&t=p&vpsrc=1&ll=37.539531,-113.161448&spn=0.007198,0.028985&source=embed" style="color:#0000FF;text-align:left">Kanarra Creek Map - Backcountrypost.com</a> in a larger map</small>
Is there something already out there that can make this happen with BB Code in XenForo? I tried to tweak the google map code that works off coordinates from Brogan but had no success.