AlongRouteSearchQuery
public AlongRouteSearchQuery(java.lang.String term,
java.util.List<LatLng> route,
java.lang.Integer maxDetourTime,
java.lang.Integer limit,
java.lang.String geopoliticalView,
java.lang.String evConnectorSet,
java.lang.String brandSet,
boolean enableDetourOffset,
SortBy sortBy,
SpreadingMode spreadingMode)
The constructor for an Along Route Search query which allows it to perform a fuzzy search for POIs along a
specified route using a list of geo points.
- Parameters:
term
- The searched term.
route
- The list of geo points on the route. This list needs to contain at least two route points.
maxDetourTime
- This defines the maximum detour time. The max value is 3600 seconds.
limit
- The maximum number of Responses that will be returned.
geopoliticalView
- This defines what kind of geopolitical view should be used.
evConnectorSet
- This is a comma-separated list of connector types which could be used to restrict the result to Points Of Interest (POI)
of type Electric Vehicle Station, supporting specific connector types.
brandSet
- A comma-separated list of brand names which could be used to restrict the result to Points Of Interest of specific brands.
enableDetourOffset
- Indicates whether the "detourOffset" information will be present in the response or not.
enableDetourOffset
- Indicates whether the "detourOffset" information will be present in the Response or not.
sortBy
- If non-null, indicates the criteria to sort by the results.