Garthanos / geoxml

Automatically exported from code.google.com/p/geoxml
1 stars 0 forks source link

Doesn't accept spaces in coordinate lists #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load the attached Temporary_Airspace_fails.kml file using GeoXML (e.g. 
gxml = new GeoXml("gxml", map, URL, {});

Note that the Temporary_Airspace.kml (also attached) does work... all I did
(after much debugging) was remove the spaces between the coordinate values.

Both of these files load identically in Google Earth. The 'fails' one
appears to be trying to wrap around to the other side of the workd when I
try and load it using GeoXML.

Using the latest version of GeoXML (15May09) and the latest Google Maps V2
API. Using Javascript, so OS isn't really relevant, but on Firefox and WinXP.

Not a critical problem, since the file is machine-generated. But awfully
confusing!

Original issue reported on code.google.com by frank.jo...@gmail.com on 20 Jul 2009 at 10:58

Attachments:

GoogleCodeExporter commented 9 years ago
spaces are the normal delimeter between pairs of coordinates in kml coordinates 

http://code.google.com/apis/kml/documentation/kmlreference.html#coordinates

in the specifications it says
Do not include spaces between the three values that describe a coordinate.

Original comment by lanceala...@gmail.com on 28 Jul 2009 at 7:37

GoogleCodeExporter commented 9 years ago

Original comment by lanceala...@gmail.com on 17 Aug 2009 at 5:44