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

11 lines
329 B
C#

namespace TINK.Model.Map
{
public static class MapSpanFactory
{
public static IMapSpan Create(IPosition position = null, double radius = double.NaN)
=> MapSpan.GetIsValid(position, radius)
? new MapSpan(position, radius) as IMapSpan
: new NullMapSpan();
}
}