SearchOptions
Defines the parameters of a Search.
Important: This is a Public Preview API. It may be changed or removed at any time.
Constructors
Types
Properties
The maximum number of search results that will be returned. Defaults to DEFAULT_LIMIT.
The maximum detour duration (for a passenger car) limits the search area. The detour duration is the value added to the estimated time of arrival (to the final destination) after a point of interest is added to the route. Search results that add more than this value are filtered out. The maximum accepted value is 3600 seconds. If a value greater than the maximum is provided then the maximum value is used.
A set of ResultType which should be used for the search. An empty set implies search can return results of any type.
The geographic filter for search, all search results returned are confined in the specified geography. Max number of geometries is 50. Three types of geometries can be passed as searchAreas: CircleGeometry, RectangleGeometry and PolygonGeometry When a single CircleGeometry is set the CircleGeometry center overrides geoBias.