42 lines
1.1 KiB
C#
42 lines
1.1 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 MapTypeApp 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 enum MapTypeApp
|
|
{
|
|
none,
|
|
normal,
|
|
satellite,
|
|
terrain,
|
|
hybrid
|
|
}
|
|
}
|