3 categories of methods: without the need of plugin install (Google Earth plugin, for browsers) and without the google earth API or with this API (in this case, the client must install the Google Earth plugin)
A-a) without the need of Google Earth plugin
A-b) without the google earth API
A-c) with the google earth API
B) with coding (javascript)
-----------------------------------------------
-----intro (not necessary if you just want a one-click service to directly embed in your site)
The Google Earth plug-in allows you to navigate and explore geographic data on a 3D globe using a web browser: http://www.google.com/earth/explore/products/plugin.html
If you want to embed the Google Earth plug-in on your website, visit the Google Earth API site to learn more: http://code.google.com/apis/earth/
Check out the recently revamped (2011) Earth API Developer's Guide: http://code.google.com/apis/earth/documentation/
This plugin and this API may work correctly on all browsers (Internet Explorer 7.0+, mac and PC: Firefox 3.0+; Google Chrome 5.0+; Safari 3.1+, etc...) that support NPAPI with npruntime extensions (https://developer.mozilla.org/En/Gecko_Plugin_API_Reference:Scripting_plugins).
Plugins (or plug-ins) are shared libraries that users can install to display content that the application itself can't display natively. For example, Adobe Reader plugin (or Google earth plugin) lets the user open PDF files directly inside the browser. Plugins are written using NPAPI, the cross-browser API for plugins: https://developer.mozilla.org/en/Plugins
To install the Google Earth Plugin, browse to any page in which the plugin is included or at http://www.google.com/earth/explore/products/plugin.html (at this URL, you can see the version of your plugin).
This plugin and this API offer many services, see these 2 "ex-amples" (trail):
(google maps and google earth and a path from one start address and one end address)
http://www.themountainpulse.com/trail-maps-plus/grand-teton-national-park/ (The Mountain Pulse is an online resource for Jackson Hole’s outdoor community: mountain biking, hiking, pathways cycling, fishing, kayaking, lodging and more)
To load the Google Earth Plugin in your web page, you need to:
- Load the Google Earth API.
- Create a DIV element to hold the plugin.
- Create functions to initialize the plugin.
- Call the initialization functions once the page has loaded.
A) without coding (no javascript)
A-a) without the need of Google Earth plugin
A-b) without the google earth API
A-c) with the google earth API
B) with coding (javascript)
http://code.google.com/apis/ajax/playground/?exp=earth#hello,_earth
Hey! Please make sure to check out this awesome online file converter I've found. https://onlineconvertfree.com
ReplyDelete