using ManagerService.DTOs; using System.Collections.Generic; namespace Manager.DTOs { public class MapDTO : SectionDTO { public int zoom { get; set; } // Default = 18 public MapTypeApp? mapType { get; set; } // Default = Hybrid for Google public MapTypeMapBox? mapTypeMapbox { get; set; } // Default = standard for MapBox public MapProvider? mapProvider { get; set; } // Default = Google public List points { get; set; } public string iconResourceId { get; set; } public string iconSource { get; set; } // url to firebase storage or on internet public List categories { get; set; } public string centerLatitude { get; set; } // Center on public string centerLongitude { get; set; } // Center on } public class GeoPointDTO { public int? id { get; set; } public List title { get; set; } public List description { get; set; } public List contents { get; set; } public int? categorieId { get; set; } public string imageResourceId { get; set; } public string imageUrl { get; set; } public List schedules { get; set; } public List prices { get; set; } public List phone { get; set; } public List email { get; set; } public List site { get; set; } public GeometryDTO geometry { get; set; } public string polyColor { get; set; } // color of the polyline or polygon public string sectionMapId { get; set; } public string sectionEventId { get; set; } } public class CategorieDTO { public int id { get; set; } public List label { get; set; } public string icon { get; set; } // icon material public ResourceDTO resourceDTO { get; set; } // Icon public int? order { get; set; } // Order to show } public class GeometryDTO { public string Type { get; set; } // "Point", "Polygon", "LineString" public object Coordinates { get; set; } } /*public class ContentGeoPoint { public string resourceId { get; set; } public ResourceType resourceType { get; set; } public string resourceUrl { get; set; } // url to firebase storage or on internet public string resourceName { get; set; } }*/ public enum MapTypeApp { none, normal, satellite, terrain, hybrid } public enum MapProvider { Google, MapBox } public enum MapTypeMapBox { standard, streets, outdoors, light, dark, satellite, satellite_streets } }