hello, when I obtian a kmlObject by using google earth api ,how can i
konw what the type of this kmlObject is.If there is a method to let me
konw whether it is a point ,line or poly.My code is like this:

                var geFeatureContaine=ge.getFeatures ();
        var kmlObjectList =geFeatureContaine.getChildNodes();
        var len=kmlObjectList.getLength ();
        var kmlObject;
        for (var i=0;i<len;i++)
        {
                kmlObject=kmlObjectList.item(i);
                        alert("the type is"+ ) //how can i get the object
type here.
               }
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to