On Oct 26, 2:06 pm, aidema <[email protected]> wrote: > I read the section on displaying kml files in Google Maps and ran a > test utilizing one of Google's sample .kml files and it worked just > fine. I am curious though how I can let users upload their own .kml > files to my website and then display them. Will that work? How do > people generate .kml or .kmz files in order to upload them? Aren't > there other files that go along with the .kml/z that they will also > need to upload?
KML is KML, and a simple KML file like Google's examples will work fine. Google Earth (amongst others) can produce KML; but it may contain features which Google Maps/API does not support. How people generate KML is up to them. They *could* use Notepad and write it by hand. They would need to upload it to a location on your server where it can be reached with a URL, because (a) if you use GGeoXml then it goes via Google's servers to reach a map; (b) if you use a third-party parser it still needs to be accessible on your site. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
