Hi.

I'm trying to import a GML file into a basic Google Map using GeoXml
from http://code.google.com/p/geoxml/

Both geoxml.js and geoxml19Sep2009.js fail with this error:

missing catch or finally after try
http://googlemapsapi.martinpearman.co.uk/user_maps/bellamallorca.dk/kort.bellamallorca.dk.20090928a/kort/scripts/geoxml.js
Line 1

missing catch or finally after try
http://googlemapsapi.martinpearman.co.uk/user_maps/bellamallorca.dk/kort.bellamallorca.dk.20090928a/kort/scripts/geoxml19Sep2009.js
Line 1

And geoxmlfull.js shows the error:

syntax error
http://maps.gstatic.com/intl/en_ALL/mapfiles/164e/maps2.api/main.js
Line 179

The results in all cases is that EgoXml is undefined so no attampt is
even made to parse my GML file.

I grabbed a copy of geoxml.js from a site i found that was
successfully using it (http://products.kitsapsun.com/maps/
newsmap_iframe.html) and tried that.
Everything looks like it's gonna work, the map displays the message
'Loaded 69  GeoXML elements in 6.334 seconds', but it fails to
complete:

a.initialize is not a function
http://maps.gstatic.com/intl/en_ALL/mapfiles/164e/maps2.api/main.js
Line 615

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.

The GML file i have only been able to successfully view so far using a
Windows application called GML Viewer from
http://www.snowflakesoftware.co.uk/products/gmlviewer/index.htm but
that program has no function to export the polyline data.

The GML file can be found here:
http://googlemapsapi.martinpearman.co.uk/user_maps/bellamallorca.dk/kort.bellamallorca.dk.20090928a/kort/senderisme.gml

Has anyone got any ideas to help me get GeoXml working and extract the
polyline data from the GML file?

Thanks.

Martin.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to