mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 07:36:31 +01:00
17 lines
428 B
C#
17 lines
428 B
C#
|
|
|||
|
namespace TINK.Model.Map
|
|||
|
{
|
|||
|
public class NullMapSpan : IMapSpan
|
|||
|
{
|
|||
|
internal NullMapSpan() { }
|
|||
|
|
|||
|
/// <summary> Center of map displayed area.</summary>
|
|||
|
public IPosition Center { get; } = PositionFactory.Create();
|
|||
|
|
|||
|
/// <summary> Radius of displayed map area. </summary>
|
|||
|
public double Radius => double.NaN;
|
|||
|
|
|||
|
public bool IsValid => MapSpan.GetIsValid(Center, Radius);
|
|||
|
}
|
|||
|
}
|