int PCMSAddStop(Trip trip, const char *stop)


Trip trip – Handle to a trip.

const char *stop – A geocodable location.  


Adds stops to the trip before calling PCMSCalculate to calculate the route. Stops are geocoded using the default match at a confidence level of one or two. The geocoding done in this API is equivalent to calling PCMSLookup with exactMatch equal to 2.

All trips require a minimum of two stops to run properly, but the maximum number of stops is bound by the available resources of the machine.


Return Values 

Standard returns

Sample Code 

PCMSAddStop(trip,"Philadelphia, PA");
PCMSAddStop(trip,"Hamilton, NJ");

Supported Since: PC*MILER Connect 12

Category: Trip Management