forked from upstream-mirrors/OpenTracks
Show on map: offer KML instead of KMZ.
This commit is contained in:
@@ -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())));
|
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 KML extends ShowOnMapProxyActivity {
|
||||||
public static class KMZ extends ShowOnMapProxyActivity {
|
public KML() {
|
||||||
public KMZ() {
|
super(TrackFileFormat.KML_WITH_TRACKDETAIL_AND_SENSORDATA);
|
||||||
super(TrackFileFormat.KMZ_WITH_TRACKDETAIL_AND_SENSORDATA);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ import de.dennisguse.opentracks.io.file.exporter.TrackExporter;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Definition of all possible track formats.
|
* Definition of all possible track formats.
|
||||||
|
* <p>
|
||||||
|
* NOTE: The names of the entries are used in the user's settings.
|
||||||
*/
|
*/
|
||||||
public enum TrackFileFormat {
|
public enum TrackFileFormat {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user