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

11 lines
278 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();
}
}