Back to Devexpress

RouteWaypoint Class

windowsforms-devexpress-dot-xtramap-c6118c46.md

latest1.6 KB
Original Source

RouteWaypoint Class

Contains information on a specific waypoint of a route, calculated by the Route service.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public class RouteWaypoint
vb
Public Class RouteWaypoint

Example

csharp
// Create three waypoints and add them to a route waypoints list. 
List<RouteWaypoint> waypoints = new List<RouteWaypoint> {
    new RouteWaypoint("New York", new GeoPoint(41.145556, -73.995)),
    new RouteWaypoint("Oklahoma", new GeoPoint(36.131389, -95.937222)),
    new RouteWaypoint("Las Vegas", new GeoPoint(36.175, -115.136389))
};
vb
' Create three waypoints and add them to a route waypoints list. 
Dim waypoints As New List(Of RouteWaypoint)() From { _
    New RouteWaypoint("New York", New GeoPoint(41.145556, -73.995)), _
    New RouteWaypoint("Oklahoma", New GeoPoint(36.131389, -95.937222)), _
    New RouteWaypoint("Las Vegas", New GeoPoint(36.175, -115.136389)) _
}

Inheritance

Object RouteWaypoint

See Also

RouteWaypoint Members

DevExpress.XtraMap Namespace