34 lines
1.0 KiB
C#
34 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Manager.Interfaces.DTO.SubSection
|
|
{
|
|
public class Map
|
|
{
|
|
public int Zoom { get; set; } // Default = 18
|
|
public MapType Type { get; set; } // Default = Hybrid
|
|
public List<GeoPoint> Points { get; set; }
|
|
public string Icon { get; set; } // url to ressource id (local) or on internet
|
|
}
|
|
|
|
public class GeoPoint
|
|
{
|
|
public int Id { get; set; }
|
|
public string Title { get; set; } // Dictionary<string, object> with all languages
|
|
public string Description { get; set; } // Dictionary<string, object> with all languages
|
|
public string Image { get; set; } // url to ressource id (local) or on internet
|
|
public string Text { get; set; } // Dictionary<string, object> with all languages
|
|
public string Latitude { get; set; }
|
|
public string Longitude { get; set; }
|
|
}
|
|
|
|
public enum MapType {
|
|
none,
|
|
normal,
|
|
satellite,
|
|
terrain,
|
|
hybrid
|
|
}
|
|
}
|