Viewport Provider
Used to provide map viewport to MapboxSearchSDK instance, if you have map in your application. Provided viewport used for better and more accurate analytics data.
Functions
getViewport
Link copied to clipboard
This method will be called by com.mapbox.search.analytics.AnalyticsService to access the map's viewport visible to a user.