Procedure SetFastest;
This function is a shortcut to defining cost as the fastest route and extra variable as distance. It simply sets these 4 parameters this way:
costtime = 1
costdist = 0
extratime = 0
extradist = 1
See also SetShortest
ActiveX / VCL / CLX component: RWcalc