Show / Hide Table of Contents

Class SearchTextRequest.Types.SearchAlongRouteParameters

Specifies a precalculated polyline from the Routes API defining the route to search. Searching along a route is similar to using the locationBias or locationRestriction request option to bias the search results. However, while the locationBias and locationRestriction options let you specify a region to bias the search results, this option lets you bias the results along a trip route.

Results are not guaranteed to be along the route provided, but rather are ranked within the search area defined by the polyline and, optionally, by the locationBias or locationRestriction based on minimal detour times from origin to destination. The results might be along an alternate route, especially if the provided polyline does not define an optimal route from origin to destination.

Inheritance
object
SearchTextRequest.Types.SearchAlongRouteParameters
Implements
IMessage<SearchTextRequest.Types.SearchAlongRouteParameters>
IEquatable<SearchTextRequest.Types.SearchAlongRouteParameters>
IDeepCloneable<SearchTextRequest.Types.SearchAlongRouteParameters>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class SearchTextRequest.Types.SearchAlongRouteParameters : IMessage<SearchTextRequest.Types.SearchAlongRouteParameters>, IEquatable<SearchTextRequest.Types.SearchAlongRouteParameters>, IDeepCloneable<SearchTextRequest.Types.SearchAlongRouteParameters>, IBufferMessage, IMessage

Constructors

SearchAlongRouteParameters()

Declaration
public SearchAlongRouteParameters()

SearchAlongRouteParameters(SearchAlongRouteParameters)

Declaration
public SearchAlongRouteParameters(SearchTextRequest.Types.SearchAlongRouteParameters other)
Parameters
Type Name Description
SearchTextRequest.Types.SearchAlongRouteParameters other

Properties

Polyline

Required. The route polyline.

Declaration
public Polyline Polyline { get; set; }
Property Value
Type Description
Polyline
In this article
Back to top Generated by DocFX