RouteWaypoint Class
Contains information on a specific waypoint of a route, calculated by the Route service.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v18.1.dll
Declaration
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-calculate-a-route-between-waypoints-and-customize-the-appearance-of-a-route-path-usin-e5100
// 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))
};
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the RouteWaypoint class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
Inheritance
Object
RouteWaypoint
See Also