Class RoutingParameters
Parameters to configure the routing calculations to the places in the response, both along a route (where result ranking will be influenced) and for calculating travel times on results.
Implements
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class RoutingParameters : IMessage<RoutingParameters>, IEquatable<RoutingParameters>, IDeepCloneable<RoutingParameters>, IBufferMessage, IMessage
Constructors
RoutingParameters()
Declaration
public RoutingParameters()
RoutingParameters(RoutingParameters)
Declaration
public RoutingParameters(RoutingParameters other)
Parameters
Type | Name | Description |
---|---|---|
RoutingParameters | other |
Properties
Origin
Optional. An explicit routing origin that overrides the origin defined in the polyline. By default, the polyline origin is used.
Declaration
public LatLng Origin { get; set; }
Property Value
Type | Description |
---|---|
LatLng |
RouteModifiers
Optional. The route modifiers.
Declaration
public RouteModifiers RouteModifiers { get; set; }
Property Value
Type | Description |
---|---|
RouteModifiers |
RoutingPreference
Optional. Specifies how to compute the routing summaries. The server
attempts to use the selected routing preference to compute the route. The
traffic aware routing preference is only available for the DRIVE
or
TWO_WHEELER
travelMode
.
Declaration
public RoutingPreference RoutingPreference { get; set; }
Property Value
Type | Description |
---|---|
RoutingPreference |
TravelMode
Optional. The travel mode.
Declaration
public TravelMode TravelMode { get; set; }
Property Value
Type | Description |
---|---|
TravelMode |