mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-21 21:46:27 +02:00
Version 3.0.265
This commit is contained in:
parent
bf8e3fa73a
commit
de8d5f8414
49 changed files with 959 additions and 286 deletions
|
@ -60,8 +60,11 @@ namespace TINK.Model
|
|||
/// <summary> Value indicating whether map is centerted to current position or not. </summary>
|
||||
bool CenterMapToCurrentLocation { get; set; }
|
||||
|
||||
/// <summary> Holds the map area to display. </summary>
|
||||
Xamarin.Forms.GoogleMaps.MapSpan MapSpan { get; set; }
|
||||
/// <summary> Holds the map area where user is or was located or null if position is unknown. </summary>
|
||||
Xamarin.Forms.GoogleMaps.MapSpan UserMapSpan { get; set; }
|
||||
|
||||
/// <summary> Holds the map span to display either default span or span centered to current position depending on option <see cref="CenterMapToCurrentLocation"/>.</summary>
|
||||
Xamarin.Forms.GoogleMaps.MapSpan ActiveMapSpan { get; }
|
||||
|
||||
bool LogToExternalFolder { get; set; }
|
||||
|
||||
|
|
|
@ -65,8 +65,17 @@ namespace TINK.Model
|
|||
/// <summary> Value indicating whether map is centerted to current position or not. </summary>
|
||||
public bool CenterMapToCurrentLocation { get; set; }
|
||||
|
||||
/// <summary> Holds the map area to display. </summary>
|
||||
public Xamarin.Forms.GoogleMaps.MapSpan MapSpan { get; set; }
|
||||
/// <summary> Holds the map area to display when starting app for first time/ when center map to is off. </summary>
|
||||
private Xamarin.Forms.GoogleMaps.MapSpan HomeMapSpan { get; }
|
||||
|
||||
/// <summary> Holds the map area where user is or was located or null if this position is unknown. </summary>
|
||||
public Xamarin.Forms.GoogleMaps.MapSpan UserMapSpan { get; set; } = null;
|
||||
|
||||
/// <summary> Holds the map span to display either default span or span centered to current position depending on option <see cref="CenterMapToCurrentLocation"/>.</summary>
|
||||
public Xamarin.Forms.GoogleMaps.MapSpan ActiveMapSpan
|
||||
=> CenterMapToCurrentLocation
|
||||
? UserMapSpan ?? HomeMapSpan
|
||||
: HomeMapSpan;
|
||||
|
||||
/// <summary> Gets the minimum logging level. </summary>
|
||||
public LogEventLevel MinimumLogEventLevel { get; set; }
|
||||
|
@ -211,7 +220,7 @@ namespace TINK.Model
|
|||
|
||||
CenterMapToCurrentLocation = settings.CenterMapToCurrentLocation;
|
||||
|
||||
MapSpan = settings.MapSpan;
|
||||
HomeMapSpan = settings.MapSpan;
|
||||
|
||||
SmartDevice = device
|
||||
?? throw new ArgumentException("Can not instantiate TinkApp- object. No device information provider available.");
|
||||
|
|
|
@ -466,6 +466,10 @@ namespace TINK.Model
|
|||
{
|
||||
new Version(3, 0, 264),
|
||||
AppResources.ChangeLog3_0_264
|
||||
},
|
||||
{
|
||||
new Version(3, 0, 265),
|
||||
AppResources.ChangeLog3_0_265
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue