sharee.bike-App/SharedBusinessLogic/Repository/Response/MapSpan.cs
2024-04-09 12:53:23 +02:00

19 lines
512 B
C#

using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace ShareeBike.Repository.Response
{
/// <summary> Holds information about map area to display.</summary>
[DataContract]
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
public class MapSpan
{
/// <summary> Center position of the map. </summary>
[DataMember]
public Position center { get; private set; }
/// <summary> Radius to the map area. </summary>
[DataMember]
public string radius { get; private set; }
}
}