I've spent the last few days stumped on this, going through all the API references, API group posts, Google searches, etc, and haven't gotten it to work....really don't know what else to try.
Here's what I've got: a basic map that loads a kmz file (it's an exported kml file from Google Earth) that puts polygon overlays onto the map. (Links to the map and kmz files are below) I've got that working no problem. However, I'm unsure how to properly access the kmz file's nested child nodes. I've parsed the kmz file and tried accessing in a variety of ways using getElementsByTagName, but with no luck. I keep getting an "object required" error, which I would normally know how to debug, but the syntax when it comes to xml nodes has thrown me. Specifically, what I'm looking to do is access the values for the child nodes (<name> and <SimpleData name="ActivityID">) which are within "Placemark" (tag in the kmz file), afterwhich I will have each polygon overylay's info window display their respective values. It doesn't seem like a hard thing to accomplish but I've really been having a difficult time. I'm not a javascript guru by any means, and this is my first experience with Google Maps API. Any guidance you can provide would be GREATLY appreciated! The map and kmz files are below. Cheers Keith Map - http://ezproducts.com/ahb/tester.html KMZ file - http://fl8kmw.blu.livefilestore.com/y1p-PIiGBYn6Ea_jO821Z5qPLS2oRfz7ePfJ5bJICnn6tQzSzlATfhtAqBUA9xCd62cZBxATFtTbhM0ZZLHW0lGZg/Operations0809test_min.kmz Also, I ran across this thread. http://groups.google.com/group/Google-Maps-API/browse_thread/thread/f4f0bd7c282d2179. The guy was trying to pull nodes from XML similarly, but the XML was much more basic (not nearly as nested). I attempted to use the info and again, wasn't successful. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
