altosui: googleearth doesn't accept spaces between coordinates anymore
authorKeith Packard <keithp@keithp.com>
Sun, 18 Dec 2011 00:58:04 +0000 (16:58 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 18 Dec 2011 00:58:04 +0000 (16:58 -0800)
it got pickier for some reason; let's not put spaces in now.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosKML.java

index d586033fffb8835c7aceb8391bab67981ab546c5..6bdbeccabb4e9d388a9c9be42bc2490fd09bc896 100644 (file)
@@ -73,7 +73,7 @@ public class AltosKML implements AltosWriter {
                "      <coordinates>\n";
 
        static final String kml_coord_fmt =
-       "        %12.7f, %12.7f, %12.7f <!-- alt %12.7f time %12.7f sats %d -->\n";
+       "        %.7f,%.7f,%.7f <!-- alt %12.7f time %12.7f sats %d -->\n";
 
        static final String kml_placemark_end =
                "      </coordinates>\n" +