On Oct 1, 4:00 am, Martin <[email protected]> wrote:
>
> I can see in Firebug's console that both functions processing() and
> processGML() are passing an undefined value in their arguments for
> what should be a GLatLng value.
>
> Has anyone got any ideas to help me get GeoXml working and extract the
> polyline data from the GML file?
This is probably one for Lance, but geoxml.js contains lines like
this:
coordset=mark.getElementsByTagName("gml:coordinates");
which won't work in Firefox. Firefox doesn't understand namespaces in
the same way as IE, and would need something like
coordset=mark.getElementsByTagNameNS("http://www.opengis.net/
gml","coordinates");
KML doesn't use a namespace in the same way [with the exception of
Google's gx: extension], so Firefox is happy with getElementsByTagName
().
Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---