sharee.bike-App/TINKLib/Model/Map/NullMapSpan.cs
Anja Müller-Meißner 0468955d49 Version 3.0.338
2022-09-08 09:55:14 +02:00

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