Page 1 of 1

I might have a question on embedding maps

PostPosted: Mon Jan 24, 2011 4:14 am
by Jelf
I'm trying to figure out how to embed a live Google API map in my post. Typically I would do that with an iframe. However, when I click 'Preview' my map does not render in the preview pane. Therefore I am making this post. If my map actually renders, great. If my map does not render then hopefully my iframe code will appear in my post and someone can tell me what I'm doing wrong.

<iframe src="http://www.mappingsupport.com/p/gmap4.php?ll=44.383624,-107.174577&t=t2&z=14" width="100%" height="500px"></iframe>

Re: I might have a question on embedding maps

PostPosted: Mon Jan 24, 2011 4:30 am
by Josh Lewis
Code: Select all
<iframe src="http://www.mappingsupport.com/p/gmap4.php?q=http://hikrs.com/host/kml/mlh/IndianHead.kml&ll=48.005929,-121.109101&t=t2&z=14&coord=latlng" width="100%" height="550"></iframe>


This worked just fine for me. :? Strange, any it does not work on pages? I thought I've seen you get it to work on sp here before?

Re: I might have a question on embedding maps

PostPosted: Mon Jan 24, 2011 4:35 am
by Jelf
I think my question for the elfs is this:

Can I somehow use iframe tags to embed a Gmap4 map in a forum post, or are iframe tags only allowed if I am making a "page".

Re: I might have a question on embedding maps

PostPosted: Mon Jan 24, 2011 5:05 pm
by Jelf
Works great! Thanks Matt.
I'll post a 'how to'


Re: I might have a question on embedding maps

PostPosted: Mon Jan 24, 2011 5:28 pm
by MoapaPk
Jelf wrote:Works great! Thanks Matt.
I'll post a 'how to'

you just did!
Code: Select all
[iframe]http://www.mappingsupport.com/p/gmap4.php?ll=44.383624,-107.174577&t=t2&z=14[/iframe]

Re: I might have a question on embedding maps

PostPosted: Mon Jan 24, 2011 10:50 pm
by Josh Lewis
Cool! Now threads will be more fun. :)