Hello Roman,
I need the whole kml document that representing the whole setup on
globe (placemarks, paths, layers...) with all objects so. Is there any
way get root kml document so when I open KML file I will get the same
globe features?
Or only your suggestion to browse all objects and get partial kml
files.
In that case how to put them togheter in one master KML file?
Thank you for your time.
Zoran.
On Sep 11, 12:08 pm, Roman N wrote:
> Hi Zoran,
>
> All objects deriving from KmlObject (pretty much everything) have a
> getKml() method that returns the KML string representing that object.
> You can call this function and do whatever you need with it. Here's
> the starting point for the KmlObject reference:
>
>
http://code.google.com/apis/earth/documentation/reference/interface_k...
>
> To enumerate through the root-level KML features in your plugin
> instance, use ge.getFeatures()
>
> If you want users to be able to save the file locally, you'll probably
> need some sort of server-side scripting. If you're comfortable with
> server-side scripting and AJAX topics, I could give you some
> suggestions on how to implement this.
>
> - Roman
>
> On Sep 9, 4:45 pm, zoka wrote:
>
>
>
> > Hello,
>
> > how to get using GE plugin KML file and save it from a script to a
> > file localy.
> > What object what method to use please?
>
> > Thanks.
> > Zoran.- Hide quoted text -
>
> - Show quoted text -