mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 10:36:30 +01:00
11 lines
329 B
C#
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();
|
|
}
|
|
}
|