| | | 1 | | using Itinero.Profiles; |
| | | 2 | | using Itinero.Routes.Builders; |
| | | 3 | | |
| | | 4 | | namespace Itinero.Routing; |
| | | 5 | | |
| | | 6 | | /// <summary> |
| | | 7 | | /// Settings to configure routing. |
| | | 8 | | /// </summary> |
| | | 9 | | public class RoutingSettings |
| | | 10 | | { |
| | | 11 | | /// <summary> |
| | | 12 | | /// Gets or sets the profile. |
| | | 13 | | /// </summary> |
| | 28 | 14 | | public Profile Profile { get; set; } = null!; |
| | | 15 | | |
| | | 16 | | /// <summary> |
| | | 17 | | /// Gets or sets the route builder. |
| | | 18 | | /// </summary> |
| | 14 | 19 | | public IRouteBuilder RouteBuilder { get; set; } = Routes.Builders.RouteBuilder.Default; |
| | | 20 | | |
| | | 21 | | /// <summary> |
| | | 22 | | /// Caps a search until the given distance in meter. |
| | | 23 | | /// </summary> |
| | 14 | 24 | | public double MaxDistance { get; set; } = double.MaxValue; |
| | | 25 | | } |