Thanks for the prompt reply Barry, sorry, I should have specified that I removed the kml file on the page I've listed above (aram3.html) beacuse it wasn't showing up on that page listed.
Here is the updated page I am trying to work with, with the kml file that is not being imported: www.iongeo.com/aram_test_dev/map4.html So I now have two other issues, but I think they should be easy to resolve: 1. Is there a way to have the kml appear in google earth? I've uploaded an example here: http://www.iongeo.com/aram_test_dev/map5_working_example.html, where the kml files are viewable in the other options (satellite, hybrid, aerial) but not in google earth. Can there be an kml overlay so that it appears in google earth? 2. How does one insert a new placemarker? I did it successfully at this map: www.iongeo.com/aram_test_dev/map3.html, but when I try to include the same function for map4, it will not work. Can you please provide a little guidance? Thanks, Mike On Mar 31, 11:38 am, Barry Hunter <[email protected]> wrote: > On 31/03/2009, Michael <[email protected]> wrote: > > > > > > > Thanks for the reply, > > > I have a very important question though: how can the kml file to > > appear in the google earth view as well? That is the important view > > that I need to work with. > > > Also, I can't seem to get any .kml file hosted on my site to load > > withing my javascript. After going to the sites you've listed, I > > found that to import a .kml file, the code to do so is simply: > > > var kml = new GGeoXml("http://(url from my site)"); > > map.addOverlay(kml); > > > } > > > I can use example kml files that are uploaded to other hosted sites. > > However, when I try to upload my own, the kml file doesn't load. > > I've even tried to include an existing kml example file "http:// > > econym.googlepages.com/lancashire.kml" (just the lancashire kml flie) > > on my site and loaded it that way, but I can't quite seem to get it to > > work. > > > Here is the page I have coded and am trying to get to work correctly: > > www.iongeo.com/aram_test_dev/map3.html > > That page doesnt contain any reference to a kml file and/or GGeoXml. > > But as a guess, this might be > relevent:http://code.google.com/apis/kml/documentation/kml_tut.html#kml_server > > > > > > > Please can someone give me a little help? > > > Thanks > > Mike > > > have loaded onto my site, but still cannot > > > On Mar 30, 1:42 pm, Rossko <[email protected]> wrote: > > > > -Or, can someone please tell me how I could import the kml file from > > > > "my maps" onto the google api map that I have made? > > > >http://groups.google.com/group/Google-Maps-API/search?q=import+kml&st... > > > >http://econym.org.uk/gmap/geoxml.htm > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
