Show on map: offer KML instead of KMZ.

This commit is contained in:
Dennis Guse
2021-06-26 23:23:36 +02:00
parent 6749f484e8
commit ed10868716
2 changed files with 5 additions and 4 deletions
@@ -57,10 +57,9 @@ public abstract class ShowOnMapProxyActivity extends AppCompatActivity {
context.startActivity(Intent.createChooser(intent, context.getString(R.string.open_track_as_trackfileformat, trackFileFormat.getExtension())));
}
@Deprecated //TODO I guess we should send KML; zipping should not really improve the situation.
public static class KMZ extends ShowOnMapProxyActivity {
public KMZ() {
super(TrackFileFormat.KMZ_WITH_TRACKDETAIL_AND_SENSORDATA);
public static class KML extends ShowOnMapProxyActivity {
public KML() {
super(TrackFileFormat.KML_WITH_TRACKDETAIL_AND_SENSORDATA);
}
}
@@ -13,6 +13,8 @@ import de.dennisguse.opentracks.io.file.exporter.TrackExporter;
/**
* Definition of all possible track formats.
* <p>
* NOTE: The names of the entries are used in the user's settings.
*/
public enum TrackFileFormat {