I might have a question on embedding maps

Suggestions and comments about SummitPost's features, policies, and procedures. Post bugs here.
no avatar
Jelf

 
Posts: 44
Joined: Thu Nov 26, 2009 10:41 pm
Thanked: 9 times in 6 posts

I might have a question on embedding maps

by Jelf » Mon Jan 24, 2011 4:14 am

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>

User Avatar
Josh Lewis

 
Posts: 3314
Joined: Thu Jan 06, 2011 11:12 pm
Thanked: 1009 times in 621 posts

Re: I might have a question on embedding maps

by Josh Lewis » Mon Jan 24, 2011 4:30 am

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?

no avatar
Jelf

 
Posts: 44
Joined: Thu Nov 26, 2009 10:41 pm
Thanked: 9 times in 6 posts

Re: I might have a question on embedding maps

by Jelf » Mon Jan 24, 2011 4:35 am

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".

no avatar
Jelf

 
Posts: 44
Joined: Thu Nov 26, 2009 10:41 pm
Thanked: 9 times in 6 posts

Re: I might have a question on embedding maps

by Jelf » Mon Jan 24, 2011 5:05 pm

Works great! Thanks Matt.
I'll post a 'how to'


User Avatar
MoapaPk

 
Posts: 7779
Joined: Fri May 13, 2005 7:42 pm
Thanked: 787 times in 519 posts

Re: I might have a question on embedding maps

by MoapaPk » Mon Jan 24, 2011 5:28 pm

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]

User Avatar
Josh Lewis

 
Posts: 3314
Joined: Thu Jan 06, 2011 11:12 pm
Thanked: 1009 times in 621 posts

Re: I might have a question on embedding maps

by Josh Lewis » Mon Jan 24, 2011 10:50 pm

Cool! Now threads will be more fun. :)


Return to Site Feedback

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests