Syntax 

int PCMSSetStopAsWaypoint(Trip trip, int which, BOOL isWaypoint)


Parameters 

Trip trip – Handle to a trip.

int which – The stop number. 

isWaypoint – FALSE to set the stop as a waypoint, TRUE designates it as a stop. TRUE is the default.


Description

Adds waypoints to a trip. Waypoints are used to customize a route to travel on specific, user-designated roads. A route will travel through a waypoint but the waypoint is not treated as a stop.  


Waypoints are listed as stops in the Detailed and State/Country reports, but they do not appear in driving directions in the Driver's Report. With RouteSync or CoPilot, the system will say to stop or to drive by a waypoint.

 

Return Values 

Returns negative (-1) on error; zero (0) for success.



Supported Since: PC*MILER Connect 30

Category: Trip Management