2021-05-21 22:42:59 +02:00

37 lines
1.0 KiB
C#

using Manager.Interfaces.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Manager.Interfaces.DTO
{
public class MapDTO
{
public int Zoom { get; set; } // Default = 18
public MapType MapType { get; set; } // Default = Hybrid
public List<GeoPointDTO> Points { get; set; }
public string IconResourceId { get; set; }
public string IconSource { get; set; } // url to resource id (local) or on internet
}
public class GeoPointDTO
{
public int Id { get; set; }
public List<TranslationDTO> Title { get; set; }
public List<TranslationDTO> Description { get; set; }
public string ImageResourceId { get; set; }
public string ImageSource { get; set; } // url to resource id (local) or on internet
public string Latitude { get; set; }
public string Longitude { get; set; }
}
public enum MapType
{
none,
normal,
satellite,
terrain,
hybrid
}
}