Skip to content

Random Connections

A collection of photography and exploration focusing on Upstate South Carolina and beyond.

  • Home
  • About Us
  • Photos
  • Resources
  • Other Voices
  • Post Archives
  • Podcast
  • Home
  • EdTech
  • iFrame Is Your Friend (in Google Earth)

iFrame Is Your Friend (in Google Earth)

Posted on March 27, 2010 By Tom 2 Comments on iFrame Is Your Friend (in Google Earth)
EdTech, Geocaching and Maps

It’s funny how things work out sometimes.  I was putting together that last post and stumbled upon a whole world of new possibilities for embedding content into Google Earth.  I noticed that several of the embed codes used the <iframe> code and just referenced a URL for the embeddable media.  I began to wonder if it would work with any URL, and sure enough, it does!

One of the biggest drawbacks of Google Earth is that it doesn’t have a WYSYWIG HTML editor for placemarks.  If you want to include HTML content, then you have to know how to code.  That can be a pain for teachers, who are, in general, afraid of coding.  Using embeddable content was one way around this.  Using <iframe> takes this one step further and makes just about ANY website embeddable.

Here’s how it works.  Just put the following line in any description box in Google Earth, be it placemark, overlay, folder, etc…

<iframe src=”http://www.someURL.com” />

Make sure to replace “www.someURL.com” with your website.  The website will appear in the placemark’s balloon when you click on it.  Depending on your Internet connection speed, it may take a moment or two for it to load.

You’ll probably notice that the balloon is rather small for the website, and that you have to scroll right and left to see anything.  That’s not good, so I suggest increasing the size of the page as follows:

<iframe src=”http://www.someURL.com” width=500 height=500 />

This gives you a bit more screen real estate.  You don’t want to get too large with the bubble because it will cover too much of your Google Earth map. Unfortunately, scrolling will have to be a part of this, but at least you can make it large enough so that it can be read without too much trouble.  Below is an example using a 500X500 and embedding a link to one of the posts from this website…

Google Earth iframe shots
Google Earth iframe shots

There are other properties you can use with <iframe> in Google Earth.  This table lists them, along with the proper syntax.   Keep in mind that their examples assume that you are embedding the frame in another website, rather than in Google Earth.

I’ve found that Flash components tend to crash when embedded into an <iframe> in Google Earth.  If the website you want to use has video or audio, it’s probably not going to work.  In fact, the simpler the website and the less formatting, the better.  If you’re design savvy, you could structure some CSS to detect a smaller screen and format the content appropriately.

So, how might you use this?  Here are a couple of ideas…

1.  Location-Related News

Create a Google Earth file that embeds news articles for specific locations for a “What’s Happening Around the World” activity.

2.  Travel Blogging

Set up a travel blog on Blogger.com or similar service.  Have the <iframe> reference the URL for specific blog posts rather than the entire blog.

I would have love to have know about this when we did our trek across country in 2004, or had taken our London trip in 2006.  I may try it for our next excursion.

Tags: embedding Google Earth HTML iFrame

Post navigation

❮ Previous Post: Three Collaborative Google Earth Projects
Next Post: Paddling Lake Oolenoy ❯

2 thoughts on “iFrame Is Your Friend (in Google Earth)”

  1. Jimbo says:
    May 31, 2010 at 8:20 pm

    by chance have you found it to be possible to embed the Google Earth itself (initial Globe view) into a web page so that visitors can swoop down from space into your area of focus?

    Reply
    1. Tom says:
      June 1, 2010 at 4:14 am

      Jimbo – About the only way to do that used to be with the Google Earth plugin. However, Google Maps has just released it’s “Earth” view, which can be embedded. I haven’t played with it, but what you describe seems possible with this new release.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Categories

  • EdTech (197)
  • Entertainment (201)
  • Family (123)
  • Gear (114)
  • General Technology (98)
  • Geocaching and Maps (208)
  • History and Genealogy (275)
  • Internet (141)
  • Local (458)
  • Miscellaneous (557)
  • Music (202)
  • Paddling (264)
  • Photography (781)
  • Podcast (15)
  • Rambling (233)
  • Rants (161)
  • Recipes (36)
  • Religion (48)
  • Restaurants (165)
  • Science (48)
  • Things Overheard (29)
  • Travel (413)
  • Uncategorized (142)
  • Washington Sabbatical (113)
  • Weirdness (59)

Recent Posts

  • Six Layer Bourbon Grits Bowl
  • How’s the House? Part 2
  • Carolina Ghost Towns – Merrittsville
  • Gimme Shelter
  • From Kingsbury to Stoneboro – Rambling in Lancaster County

Recent Comments

  • Curtis V Fink on Chasing the Swamp Rabbit – Part 3, Sievern and Edisto Academy
  • Bobby Stan Gillespie on Exploring Jacks Township
  • Richard Thornton on Paddling Up the Long Nose
  • John Guerrant on From Kingsbury to Stoneboro – Rambling in Lancaster County
  • John Guerrant on Gimme Shelter

Tags

blogging cemetery Christmas Columbia Edisto River edtech Entertainment family Flickr Florida Furman Furman University gear Georgia geotagging Ghost Town Ghost Towns Google Earth Google Maps GPS Greenville Greenville Chorale history Instructional Technology kayaking Lake Jocassee LCU Lowcountry Unfiltered maps Music North Carolina Paddling Photography rambling restaurant Restaurants review singing social networking South Carolina time-lapse Travel video Washington Washington State
May 2025
S M T W T F S
 123
45678910
11121314151617
18192021222324
25262728293031
« Apr    

Copyright © 2025 Random Connections.

Theme: Oceanly by ScriptsTown