mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-16 15:16:34 +01:00
16 lines
383 B
C#
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);
|
|
}
|
|
}
|