On Apr 1, 2:12 am, String <[email protected]> wrote:

> It's not within the KML file itself, it's a question of its
> availability via the web. GGeoXml serves the KML file via Google's
> servers, so if they can't access the file, neither can your map. This
> is why Ross was pointing out 
> thathttp://iongeo.com/aram_test_dev/ion_acquired_spans.kml
> is returning a 404. That file needs to be on your web server, and it
> doesn't appear to be.

Hmm ... this is weird, because I can see my kml file that I've
uploaded on my web server with the "aram_test_dev" directory as well
as an example, but they both are not appearing when I try to import
them.

>
> As for showing KML on the Earth view, that should work when the file
> is accessible. However, it might need to be done ion the right order;
> try putting map.setMapType(G_SATELLITE_3D_MAP) after map.addOverlay
> (kml). For a working example, you could look 
> athttp://sterlingudell.com/bgmm/chapter_04/listing_04_13.html- the
> campgrounds are KML-based, and they're still visible if you select the
> Earth maptype.


Thanks a lot for the link provided String.  It's good to know that kml
files can be viewed in a google earth setting.  However, when I tried
to add .setMapType(G_SATELLITE_3D_MAP) after map.addOverlay, it didn't
seem to have any effect.  Can you please take a look at the source
code in my example page here: 
http://www.iongeo.com/aram_test_dev/map5_working_example.html

Also, that link you've provided didn't seem to load the kml file the
same way as the one I am trying, as a general question, how did the
kml file get loaded?

Thanks for everything.
Mike

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to