On Dec 21, 4:18 am, Bill Lee <[email protected]> wrote: > I would like to use the KML that represents a map I have saved in MyMaps. > Currently I am able to do so, but the procedure is a bad, bad hack! > > In short: I download the KML and save it on my local machine. The > application then uses the list of KML files held locally as the "list of > available MyMap" files. I then have to copy the KML from my local machine to > an external website since the API says "hosted on a publicly accessible web > server". > > I would like a way to > 1) Get a list of available "MyMaps" maps from Google, and then > 2) Use the KML directly from the Google servers instead of my round-about > hack.
You can link to the KML directly from the Google servers. Look inside the kml file you downloaded, it is usually a network link to the kml from google's servers (but as you haven't followed the posting guidelines and posted a link to your map, I can't say for sure...) > > As a less desireable alternative: once I have the KML on my local machine in > a file, I would like to create a KmlLayer using that local file instead of > the current KmlLayer requirement of a "file that is hosted on a publicly > accessible web server". > > Any ideas? geoxml3 will let you display kml from a local file, but: 1. it won't be avaliable to anyone else 2. it won't be a KmlLayer. -- Larry > > Thanks. > > Bill Lee > > PS: Note: post #1! :-) -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
