/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.poidetails/PoiDetailsMapContributor

PoiDetailsMapContributor

\ class PoiDetailsMapContributor : TripKitMapContributor

Constructors

PoiDetailsMapContributor constructor()

Types

Name Summary
Companion object Companion

Properties

Name Summary
tripLocationMarkerCreator @Inject
lateinit var tripLocationMarkerCreator: TripLocationMarkerCreator

Functions

Name Summary
cleanup open override fun cleanup()
Called either from onStop() or when the map is switching to another contributor.
getInfoContents open override fun getInfoContents(marker: Marker): View?
Called when an info window is clicked.
initialize open override fun initialize()
Called from the TripKitMapFragment's onAttach().
safeToUseMap open override fun safeToUseMap(context: Context, map: GoogleMap)
Called when the map has been initialized and is safe to use.
setLocation fun setLocation(location: Location?)
setMarkerVerticalOffset fun setMarkerVerticalOffset(bottomSheetHeight: Int)
setup open override fun setup()
Called from onStart().