2024-04-09 12:53:23 +02:00
|
|
|
using System.Runtime.Serialization;
|
|
|
|
using Newtonsoft.Json;
|
2022-01-22 18:16:10 +01:00
|
|
|
|
2024-04-09 12:53:23 +02:00
|
|
|
namespace ShareeBike.Repository.Response
|
2022-01-22 18:16:10 +01:00
|
|
|
{
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Holds information about map area to display.</summary>
|
|
|
|
[DataContract]
|
2024-04-09 12:53:23 +02:00
|
|
|
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
|
2022-09-06 16:08:19 +02:00
|
|
|
public class MapSpan
|
|
|
|
{
|
|
|
|
/// <summary> Center position of the map. </summary>
|
|
|
|
[DataMember]
|
|
|
|
public Position center { get; private set; }
|
2022-01-22 18:16:10 +01:00
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Radius to the map area. </summary>
|
|
|
|
[DataMember]
|
|
|
|
public string radius { get; private set; }
|
|
|
|
}
|
2022-01-22 18:16:10 +01:00
|
|
|
}
|