PDA

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


Vozza
08-18-2009, 09: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

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

http://code.google.com/intl/en/apis/earth/

T.Dooley
08-19-2009, 03: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
Tom