PDA

View Full Version : Maps



Bitchkoma
02-20-2010, 01:45 PM
Now you can embed google maps.

Just paste the embed code you get from maps.google.com (near the top right corner where it says "Link") between the tags or use the pin icon in bbcode toolbar.

Example:


[gmap]<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=KL+Bird+Park&amp; sll=50.937594,6.940855&amp;sspn=10.516937,19.753418&amp;ie =UTF8&amp;hq=KL+Bird+Park&amp;hnear=&amp;radius=15000&amp;ll=3.143 12,101.68835&amp;spn=0.071946,0.071946&amp;t=h&amp;output=embe d"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=KL+Bird+Par k&amp;sll=50.937594,6.940855&amp;sspn=10.516937,19.753418&amp; ie=UTF8&amp;hq=KL+Bird+Park&amp;hnear=&amp;radius=15000&amp;ll=3.1 4312,101.68835&amp;spn=0.071946,0.071946&amp;t=h" style="color:#0000FF;text-align:left">View Larger Map</a></small>

You get this beautiful interactive map:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=KL+Bird+Park&amp; sll=50.937594,6.940855&amp;sspn=10.516937,19.753418&amp;ie =UTF8&amp;hq=KL+Bird+Park&amp;hnear=&amp;radius=15000&amp;ll=3.143 12,101.68835&amp;spn=0.071946,0.071946&amp;t=h&amp;output=embe d"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=KL+Bird+Par k&amp;sll=50.937594,6.940855&amp;sspn=10.516937,19.753418&amp; ie=UTF8&amp;hq=KL+Bird+Park&amp;hnear=&amp;radius=15000&amp;ll=3.1 4312,101.68835&amp;spn=0.071946,0.071946&amp;t=h" style="color:#0000FF;text-align:left">View Larger Map</a></small>


I figured it might be useful in cases, say a UFO was spotted at so and so. Now you can embed a map that tells others where so and so is.

Lexion
02-20-2010, 01:46 PM
That is fucking awesome.

GeneralStriker
02-20-2010, 01:47 PM
worship the seal!

Alessandra
02-20-2010, 01:50 PM
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=210N+White+sa nds+Blvd+Alamogordo+NM&amp;sll=32.890759,-105.957727&amp;sspn=0.005973,0.009645&amp;ie=UTF8&amp;hq=&amp;hnea r=210+N+White+Sands+Blvd,+Alamogordo,+Otero,+New+M exico+88310&amp;t=h&amp;z=14&amp;ll=32.902506,-105.955925&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=210N+White+ sands+Blvd+Alamogordo+NM&amp;sll=32.890759,-105.957727&amp;sspn=0.005973,0.009645&amp;ie=UTF8&amp;hq=&amp;hnea r=210+N+White+Sands+Blvd,+Alamogordo,+Otero,+New+M exico+88310&amp;t=h&amp;z=14&amp;ll=32.902506,-105.955925" style="color:#0000FF;text-align:left">View Larger Map</a></small>

Alessandra
02-20-2010, 01:51 PM
lol looks weird

Bitchkoma
02-20-2010, 01:52 PM
Can you post a screenshot? I'm still testing it out.

anarch
02-20-2010, 02:58 PM
AWESOME!!! THanks for the codeing update...

YOU coders are awesome!

Bitchkoma
02-20-2010, 03:10 PM
It wasn't that difficult, really. Ctrl+C and Ctrl+V, click, about sums it.

Cogburn
02-20-2010, 03:25 PM
Hey BK, I know you were trying to make it as easy as possible, but allowing the embedding of an IFRAME may not be a good idea.

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp ;q=KL+Bird+Park&amp;sll=50.937594,6.940855&amp;ssp n=10.516937,19.753418&amp;ie=UTF8&amp;hq=KL+Bird+P ark&amp;hnear=&amp;radius=15000&amp;ll=3.14312,101 .68835&amp;spn=0.071946,0.071946&amp;t=h&amp;outpu t=embed"></iframe>

skunk
02-20-2010, 08:27 PM
Sick.