using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.ViewModels.SmallFun
{
///
/// googleMapApi 返回试图
///
public class GoogleMapResultView
{
///
/// 地理编码路径点
///
public object? Geocoded_waypoints { get; set; }
///
/// 返回数据源
///
public object? Routes { get; set; }
///
/// 状态
///
public string? Status { get; set; }
}
///
/// 途径
///
public class Routes
{
///
/// 界标
///
public Bounds? Bounds { get; set; }
///
/// 版权保护
///
public string? CopyRights { get; set; }
}
#region bounds 界标
///
/// 界标
///
public class Bounds {
///
/// 东北方
///
public Northeast? Northeast { get; set; }
///
/// 西南方
///
public Southwest? Southwest { get; set; }
}
///
/// 东北方
///
public class Northeast
{
///
/// 纬度
///
public string? Lat { get; set; }
///
/// 经度
///
public string Lng { get; set; }
}
///
/// 西南方
///
public class Southwest
{
///
/// 纬度
///
public string? Lat { get; set; }
///
/// 经度
///
public string Lng { get; set; }
}
#endregion
#region leg
///
/// Leg
///
public class Leg
{
///
/// 距离
///
public TextValue? Distance { get; set; }
///
/// 时长
///
public TextValue? Duration { get; set; }
///
/// 结束地址
///
public string? End_address { get; set; }
///
/// 结束地址经纬度
///
public LatLng? End_location { get; set; }
///
/// 开始地址
///
public string? Start_address { get; set; }
///
/// 开始地址经纬度
///
public LatLng? Start_location { get; set; }
///
/// Step
///
public List? Steps { get; set; }
}
///
/// Step
///
public class Step
{
///
/// 距离
///
public TextValue? Distance { get; set; }
///
/// 耗时
///
public TextValue? Duration { get; set; }
///
/// 结束经纬度
///
public LatLng? End_location { get; set; }
///
/// html指令
///
public string? Html_instructions { get; set; }
///
/// 多线
///
public Polyline? Polyline { get; set; }
///
/// 开始经纬度
///
public LatLng? Start_location { get; set; }
///
/// 出行方式
///
public string? Travel_mode { get; set; }
}
///
/// 多线
///
public class Polyline
{
///
/// 目的
///
public string? Points { get; set; }
}
///
/// 文本值
///
public class TextValue
{
///
/// 文本
///
public string? Text { get; set; }
///
/// 值
///
public int Value { get; set; }
}
///
/// 经纬度值
///
public class LatLng
{
///
/// 纬度
///
public string? Lat { get; set; }
///
/// 经度
///
public string Lng { get; set; }
}
#endregion
}