PDA

View Full Version : New Feature - Google Maps



[TLB-HC]Sinister
01-09-2009, 03:55 PM
New Feature - Google Maps

This feature adds a button to the WYSIWYG post editor, as well as BBCODE that allows you to embed a Google Map into your post or thread, and then zoom and pan around that map.

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

Step 1: Go to Google Maps (http://maps.google.com/) and find the location and zoom level you want to show.

Step 2: Click the link icon at the top-right of the map and in the drop down that appears copy all the text that appears in the "Paste HTML to embed in website" section.

Step 3: When making your post/thread, look for the http://www.clan-tlb.com/forum/images/editor/gmap.gif button inside the editor box to insert the BBCODE tags. Paste the text from Step 2 between these.

Aternatively, if you are using the quick reply box or have the WYSIWYG post editor turned off, you can simply surround your pasted text with [ gmap ][ /gmap ] tags (without the spaces).

Submit your post/thread to see the action. Here's a demo:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=area+51&amp;sll=35.88905,-113.840332&amp;sspn=5.802017,9.140625&amp;ie=UTF8&amp;ll=37.80 9784,-115.543213&amp;spn=2.868198,4.570312&amp;z=8&amp;output=embed&amp; s=AARTsJrooQ2MQJMVPV6oLrtpX9yxV183nQ"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=area+51&amp;sll=35.88905,-113.840332&amp;sspn=5.802017,9.140625&amp;ie=UTF8&amp;ll=37.80 9784,-115.543213&amp;spn=2.868198,4.570312&amp;z=8&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>

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

I hope you enjoy this new forum feature. Let me know how this is working for you below.