From 53541079d643d28c2f7b2e9b821affc1ff7f132f Mon Sep 17 00:00:00 2001 From: Christian Beiwinkel Date: Thu, 29 Aug 2024 14:31:20 +0200 Subject: [PATCH] Add docstring for preferred_layer location parameter (#4867) --- docs/docs/api/turn-by-turn/api-reference.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/api/turn-by-turn/api-reference.md b/docs/docs/api/turn-by-turn/api-reference.md index c00e646f67..8ea2d1e79a 100644 --- a/docs/docs/api/turn-by-turn/api-reference.md +++ b/docs/docs/api/turn-by-turn/api-reference.md @@ -46,7 +46,8 @@ To build a route, you need to specify two `break` locations. In addition, you ca | `street_side_tolerance` | If your input coordinate is less than this tolerance away from the edge centerline then we set your side of street to none otherwise your side of street will be left or right depending on direction of travel. The default is 5 meters. | | `street_side_max_distance` | The max distance in meters that the input coordinates or display ll can be from the edge centerline for them to be used for determining the side of street. Beyond this distance the side of street is set to none. The default is 1000 meters. | | `street_side_cutoff` | Disables the `preferred_side` when set to `same` or `opposite` if the edge has a road class less than that provided by `street_side_cutoff`. The road class must be one of the following strings: motorway, trunk, primary, secondary, tertiary, unclassified, residential, service_other. The default value is `service_other` so that `preferred_side` will not be disabled for any edges. | -| `search_filter` | A set of optional filters to exclude candidate edges based on their attribution. The following exclusion filters are supported: Road classes from highest to lowest are: motorway, trunk, primary, secondary, tertiary, unclassified, residential, service_other. +| `search_filter` | A set of optional filters to exclude candidate edges based on their attribution. The following exclusion filters are supported: Road classes from highest to lowest are: motorway, trunk, primary, secondary, tertiary, unclassified, residential, service_other. | +| `preferred_layer` | The layer on which edges should be considered. If provided, edges whose layer does not match the provided value will be discarded from the candidate search. | Optionally, you can include the following location information without impacting the routing. This information is carried through the request and returned as a convenience.