43 lines
1.2 KiB
C#
43 lines
1.2 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 List<ImageGeoPoint> Images { get; set; }
|
|
public string Latitude { get; set; }
|
|
public string Longitude { get; set; }
|
|
}
|
|
|
|
public class ImageGeoPoint
|
|
{
|
|
public string ImageResourceId { get; set; }
|
|
public string ImageSource { get; set; } // url to resource id (local) or on internet
|
|
public int Order { get; set; } // Order to show // useless ?
|
|
}
|
|
|
|
public enum MapType
|
|
{
|
|
none,
|
|
normal,
|
|
satellite,
|
|
terrain,
|
|
hybrid
|
|
}
|
|
}
|