Package-level declarations
Functions
Calculates route information (distance and ETA) from the user's current location to a search result. Performance Note: Due to computational complexity, it's expensive to calculate accurate ETA and precise route distance. These calculations involve routing algorithms and real-time traffic data processing, which can significantly impact performance when processing multiple search results simultaneously.
Performs one-off search request to get a list of search results.
Retrieves the user's destination search history with pagination support. When empty list is returned, the previous page was the last one
Retrieves the list of favorite places.
Returns points of the active route. If there are more points than a hardcoded limit, intermediate points will be thrown away to return no more points than the limit. If there's a route progress, only the points ahead of user will be returned.
Retrieves the current route options configuration.
Emits updates to the favorites list whenever favorites are added, removed, or modified.
Emits new objects when detailed information about the SearchResult is shown or hidden. For example, when the user has performed search and then clicked one of the found results, and then clicked "Back".
Emits new route options whenever the route configuration changes.
Emits search UI updates: when it's shown, scrolled, closed.
Removes a place from the favorites list.
Performs revers geocoding to get a list of places (SearchResult) by given coordinate.
Saves a place to the favorites list.
Scrolls the search results UI to a certain SearchResult. The list of SearchResult os available by observing observeSearchUIUpdated, more precisely by accessing the SearchUIState.items property.
Performs suggestions search, returning a list of places (SearchResult), Categories and Brands. Will be slower than forward, because each found suggestion will be resolved under the hood.
Searches for places along the current route.
Perform search within the given category (returned by search).
Same as searchAlongRoute, but searches within the given category.
Updates the route options configuration.
Shows UI with detailed information about a SearchResult. Note: if the SearchResult is part of the route, you should rather call showWaypoint.