Hi
Trying to understand the api and finding a way to traverse to all
objects loaded by the fetchKml command without luck.
I dont get how you referense placemarks and other objects in the
loaded kml.
So my question is, how to reference placemarks, folder, description
and change values.
This doesnt work
function addKML(kmlObject){
if ('getFeatures' in kmlObject) {
var firstChild = kmlObject.getFeatures().getFirstChild();
if (firstChild !== null) {
for (prop in firstChild) {
alert(prop+' value :'+obj[prop]+'\n')
}
}
}
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---