View Full Version : How do i integrate google earth to my website

08-18-2009, 08:51 AM
Hey guys so i made a google earth video kml have a few placemarks and i would like to share this on my website? how do i get a php code for my kml file or do i need a converter or such?

I am really confused and unhappy cause i just can not get a solution!!!

Any help please.
Thank you

08-18-2009, 10:58 AM
Google Earth API, but that requires the plugin on the clients.


08-19-2009, 02:34 PM
The Google API can be a bit complex. You need to know a bit about coding (html, php, javascript, flash or alike). There is no short answer. Read the 'Google Earth API' guides. They are often long and sometimes not accurate about the subject you want to look into. But if you want to incorporate your GE file closely into your site, you have to spend time digging into the 'matter'.

Instead you could (like I personally have on several sites) just add an attachment/file any guest can click on. And if your site setup is in place your visitors will be prompted to open a file 'xyz.kmz' in Google Earth when they click on the link.

Best regards

04-25-2010, 01:28 AM
Check this tutorial. (http://earth.google.com/outreach/tutorial_kmlembed.html) I don't think there's an easier way to do it.

04-25-2010, 05:06 AM
Old topic, but here is good resource. Automatically generates the code.


07-28-2010, 03:38 PM
i want to integrate the gogle earth with my web site does it show me the weather updates on my web site.i tryied a lot but failed to upload it please let me informed about it how can i do that.

11-24-2010, 03:00 PM
hey friend nice sharing here

01-15-2011, 06:38 AM
Is there any easiest way to integrate google earth to my website?

I'm new in this field... and dont know much about the php, html languages.
Help required..:(


01-23-2014, 06:23 AM
use this html code: <img src="url" /> insert the url and it should show up in the placemark.