Click or drag to resize

WaypointRouteCalculator Constructor (Route, MessagesBundle)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Creates a Waypoint route for the Navigator with a given MessagesBundle.

Namespace:  Telogis.GeoBase.Navigation
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public WaypointRouteCalculator(
	Route route,
	MessagesBundle messagesBundle
)

Parameters

route
Type: Telogis.GeoBase.RoutingRoute
The Route
messagesBundle
Type: Telogis.GeoBase.InternationalizationMessagesBundle
The MessagesBundleMessagesBundle comprising Waypoints.
Remarks
Ownership of this Route is passed to the WaypointRouteCalculator, which may modify and dispose of it. The route must have a defined Start value and End value, and every stop along the route must be a Waypoint. If the Start and/or End stop is undefined, or if there are no stops in addition to the Start and end Stop, the constructor throws a NotEnoughStopsException exception. If the route contains any stops that are not Waypoint objects (i.e. RouteStop objects), the constructor throws an InvalidRouteStopTypeException exception.
See Also