Hello, I created this new procedure, so that there is no waypoint limit, google limits it by 25 points.
Only I can not remove after I have created. can you help me?? To remove all created routes. With the procedure "RemoveAllRoutes" deletes only the last route created ..
procedure TUniGMap.RouteUnlimitedWaypoints(DirectionsRequest: TDirectionsRequest);
tm: string; // travelmode
us: string; // unitSystem
case DirectionsRequest.travelMode of
tmDRIVING: tm := 'DRIVING';
tmBICYCLING: tm := 'BICYCLING';
tmTRANSIT: tm := 'TR