Closed andreww closed 14 years ago
Also, why is the heading an integer? Should check the xsd for kml.
The schema actually says:
So it should be real, and between -360 and 360. I'll follow the Google docs which say 0 to 360.
Fixed by: http://github.com/andreww/fox/commit/5f1f66a79511b5cb15fda208964076e246cc0055 Allowed values go from -360 to 360.
The heading argument to kmlCreatePointStyle accepts integer values between -180 and 180 degrees. This is checked in the code and an error is raised for values outside this range. There are tests to check this works. However, google's kml spec page says the value should be between 0 and 360. We should either only accept numbers in that range, or add 360 to negative values to produce the correct output without breaking the API.