GE Plugin in Wordpress Example

The Google Earth Plugin allows you to embed Google Earth within a browser. At present this is only available on the Windows platform but has been promised for some time on the MAC and Linux ones - and is eagerly awaited.

To that end this post will only be viewable on Windows and only if you have the plugin installed.
The plugin can be downloaded from http://desktop.google.com/plugins/i/googleearth.html

This is also a test to show one way of embedding GE within Wordpress and in this case uses an iframe tag to embed a separate page. The code I’m using for this example is:-

<iframe scrolling="no"

style="border:0;padding:0;margin:10px 0 10px 0;"

src="http://www.TheKMZ.co.uk/GEPlugin/gepi_test_1.htm" width="500" height="600"></iframe>

This is a first effort and as mentioned embeds a separate page which may be easier than trying to directly include all html and javascript for more complicated pages within a Wordpress post.

In addition I have only tried this on Firefox 3 but will try different browsers once the post is published.

This entry was posted in Tips and Snippets and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Trackback

  1. By iFrame Code « Erik Harm’s Test Blog on June 2, 2009 at 5:41 pm

    [...] Source Page: http://www.thekmz.co.uk/2008/12/ge-plugin-in-wordpress-example/ [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*