There are other KML parsers other than GGeoXml . try EGeoXML or GeoXML. At least one of which I think allows you parse a kml string to it.
but yes your workaround would probably be the only way with GGeoXml . On 16/07/2009, [email protected] <[email protected]> wrote: > > Hi. I am trying to use the Pie Chart Map from thematicmapping.org in > Google Maps. Using the thematicmapping API, I can get the desired KML > code and put it into a javascript variable. This is good. But now, I > don't know how to get the KML code imported into Google maps. The > GGeoXml object requires a URL. My KML code, however is inside a > variable! Do you guys see any way to get this KML someplace where I > can supply it as an argument to GGeoXml? Should I write some function > that like, writes the KML data back onto my webserver and then has a > callback that runs GGeoXml on a url pointing to my webserver? What > are your thoughts? > > Thanks! > -Wai Lee > > > > -- 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 -~----------~----~----~----~------~----~------~--~---
