Snap points to logical route path This sample shows how to snap points to the road network to form a logical path using the Azure Maps rest directions service. This is done by passing the coordinates, in this case a GPS trace, as supporting points in a request in the body of a post reques to the route directions service. Zoom in to see the route path generated for the GPS trace. The GPS trace in this sample has 1,793 points in it.