Class Route
- Namespace
- TimeCockpit.Data.Geolocation.OSM
- Assembly
- TimeCockpit.Data.dll
Simple route representation.
public class Route
- Inheritance
-
ObjectRoute
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
Route()
public Route()
Fields
NoMatch
Constant no-match route.
public static readonly Route NoMatch
Field Value
Properties
Distance
Gets or sets the route distance in meters.
public decimal Distance { get; set; }
Property Value
- Decimal
IsSuccess
Gets or sets a value indicating whether the route could be successfully determined.
public bool IsSuccess { get; set; }
Property Value
- Boolean
Time
Gets or sets the route travel time in seconds.
public decimal Time { get; set; }
Property Value
- Decimal