ViewportProvider

fun fun interface ViewportProvider

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

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getViewport
Link copied to clipboard
abstract fun getViewport(): BoundingBox?
This method will be called by com.mapbox.search.analytics.AnalyticsService to access the map's viewport visible to a user.
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String