You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
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.
Rossko
unread,
Jun 10, 2010, 10:30:07 AM6/10/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
> 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.