sharee.bike-App/TINKLib/Model/Map/NullMapSpan.cs
Oliver Hauff f38b516d25 3.0.271
2022-01-22 18:16:10 +01:00

16 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);
}
}