12-16-2008, 11:14 PM | #1 (permalink) |
Invisible
Location: tentative, at best
|
Any Google Earth experts out there?
Does anyone know how to embed a Google Earth placemark on a web site?
When I upload the .kmz file to my site, I find that clicking on the link makes my browser (IE) treat it like a zip file - it makes me click to open (or save) the file; then another click for the "use evaluation version" in WinZip, then double click on the doc.kml file to finally open Google Earth and zoom to the location. So . . . it works, but I'd like it to work in one click - not 3 clicks and a dbl-click. No one will go thru that much trouble - and that's too long of an explanatin. Anyone know how to shorten the process? I know if you just send an email with the .kmz file, it opens in one click. Why doesn't it work the same online? It's still a .kmz file. Any help is appreciated. Thanks .
__________________
If you want to avoid 95% of internet spelling errors: "If your ridiculous pants are too loose, you're definitely going to lose them. Tell your two loser friends over there that they're going to lose theirs, too." It won't hurt your fashion sense, either. |
12-16-2008, 11:33 PM | #2 (permalink) |
Broken Arrow
Location: US
|
Fix your mime types. That might do it. If you don't know the method offhand, google it. It's too much to type for me right now, but I still wanted to push in what is hopefully the right direction before I went to bed.
__________________
We contend that for a nation to try to tax itself into prosperity is like a man standing in a bucket and trying to lift himself up by the handle. -Winston Churchill |
12-17-2008, 10:52 AM | #3 (permalink) |
Invisible
Location: tentative, at best
|
Well, thanks for the info, luciferase75.
From my research, I've found (I think) that I needed to create a .htaccess file with the following: AddType application/vnd.google-earth.kmz .kmz I've created the file using Notepad, and uploaded the file to my ftp site. No difference. I know my site is Linux hosted. I don't know if it's Apache (It's a shared host by Go Daddy). Just in case it is Apache, I also created the file http.conf and added the following lines: AddType application/vnd.google-earth.kml+xml .kml AddType application/vnd.google-earth.kmz .kmz Still no difference EDIT LATER: There seemed to be a bit of lag time, but it seems to work now - thanks for getting me on the right track, luciferase75. .
__________________
If you want to avoid 95% of internet spelling errors: "If your ridiculous pants are too loose, you're definitely going to lose them. Tell your two loser friends over there that they're going to lose theirs, too." It won't hurt your fashion sense, either. Last edited by yournamehere; 12-17-2008 at 06:24 PM.. |
12-28-2008, 09:52 AM | #4 (permalink) |
Crazy
|
Maybe you could post your site so we could test. Also, I could be wrong, but I thought mime types were only good if you wanted to display the item in your browser instead of opening it. Its up to your windows file associations to open up a file directly in Google Earth. After you save it, Shift+Right Click to Open With... select Google Earth. Then the next time you open it in your web browser, check off always open with this program. Also, you should check the options in the Google Earth program, because I thought it was supposed to handle these associations. Also, you might try IZArc instead of WinZip.
|
12-29-2008, 09:53 PM | #5 (permalink) |
Invisible
Location: tentative, at best
|
That would be the most logical action, but it's a resume/portfolio - I put it online because I just got laid off last month, and since it's got my name, address, etc., all over the place, I'd prefer to keep a little anonymity. Even just typing the URL doesn't work (the index page just has pics of my dogs!) - the only way in is by clicking on an emailed link, and I only email the link to prospective employers. Thanks for the offer, though.
Actually, I'm confident it works now - I've only been told by one person that it still doesn't work for her. Quite a few other people say it works for them, and I tried it from my spare computer, and it works just fine for me now with both IE and Firefox.
__________________
If you want to avoid 95% of internet spelling errors: "If your ridiculous pants are too loose, you're definitely going to lose them. Tell your two loser friends over there that they're going to lose theirs, too." It won't hurt your fashion sense, either. |
12-30-2008, 08:34 AM | #6 (permalink) | |
Psycho
Location: North America
|
Quote:
"the only way in...." - I wouldn't rely too heavily on that |
|
12-30-2008, 06:34 PM | #7 (permalink) | |
Invisible
Location: tentative, at best
|
Quote:
The GE placemarks are to a couple projects I've worked on, not to my house. There's a bit of a "wow" factor if it works correctly. But those alone aren't going to get me a job - but could cost me one if the links didn't work - everything has to perfect on a resume, especially in this economy. That's why I asked for help.
__________________
If you want to avoid 95% of internet spelling errors: "If your ridiculous pants are too loose, you're definitely going to lose them. Tell your two loser friends over there that they're going to lose theirs, too." It won't hurt your fashion sense, either. |
|
12-31-2008, 12:57 PM | #8 (permalink) | |
Psycho
Location: North America
|
Quote:
|
|
Tags |
earth, experts, google |
|
|