Well first of all, I'm very new to the Google Maps JavaScript API and
to the javascript itself. It quite fun playing around with it. But the
problem I face is about how to manipulate the KML stuff (marker from
KML). I search around the group and through other site for a while and
the most answer is mostly on the API2. I have come to the conclusion
of to parse the KML file myself.

As I see it's actually a xml file, so I just think it was going to be
easy like using the javascript to parse the xml file. Then I've create
the xml file (in which just change the KML file type to xml) and play
with it till I get a function to parse my file. By the way I use the
responseXML to parse the XML. But now the real problem is when I
switch the file to the original KML. It won't work.

Ok I use firebug to try debug it and I can see that it's because the
server response the content-type of KML as other type than "text/xml"
so I can't use that reponseXML but I can see that in responseText are
contain the stuff. So with my limited knowledge on javascript and web
setting stuff I'm stuck at this point. (I still have no idea on how to
parse the whole string of xml/KML and the motivation to do so yet)

So please can someone enlighten me of how to parse KML file that are
posting online. Can you please guide me to the right path or do I miss
some important method or others.

Thank you very much.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to