void PCMSSetRouteLevel (Trip trip, bool useStreets)
Trip trip – Handle to a trip.
bool useStreets – True sets routing to street level and False sets it to highway only. The default is False.
Sets routing to either street level or highway only. This API provides the same effect as the UseStreets setting in the PCMSERVE.INI, except it can be changed in between trips. (A license for the Streets add-on is required for street-level routing.)
Trip trip = PCMSNewTrip(server); PCMSSetRouteLevel(trip, TRUE); // turn streets on PCMSAddStop(trip,"Philadelphia, PA"); PCMSAddStop(trip,"Hamilton, NJ"); PCMSAddStop(trip,"Manhattan,NY"); PCMSSetCalcType(trip, CALC_AVOIDTOLL); PCMSSetCalcType(trip, CALC_NATIONAL); PCMSCalculate(trip);
Supported Since: PC*MILER Connect 24