/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.map.home

Package-level declarations

Types

Name Summary
ApiZoomLevels object ApiZoomLevels
Zoom level that is compatible with the locations.json API
FetchStopParams class FetchStopParams(val cellIds: List<String>, val region: Region, val level: Int)
FetchStopsByViewport open class FetchStopsByViewport@Injectconstructor(getCellIdsFromViewPort: GetCellIdsFromViewPort, regionService: RegionService, stopsFetcher: StopsFetcher)
GetCellIdsFromViewPort open class GetCellIdsFromViewPort@Injectconstructor(val regionService: RegionService)
MapViewModel class MapViewModel : RxViewModel
StopLoaderArgs object StopLoaderArgs
TripKitMapContributor interface TripKitMapContributor
Implementations of this class will be called at certain points in a TripKitMapFragment's lifecycle, allowing the implementation to add items to the map, such as markers or polylines.
TripKitMapFragment class TripKitMapFragment : LocationEnhancedMapFragment, GoogleMap.OnInfoWindowClickListener, GoogleMap.OnMapLongClickListener, GoogleMap.OnPoiClickListener, GoogleMap.OnCameraChangeListener, GoogleMap.OnMarkerClickListener, GoogleMap.OnCameraIdleListener
A map component for an app. It automatically integrates with SkedGo's backend, display transit information without any additional intervention.
ViewPort sealed class ViewPort
ZoomLevel enum ZoomLevel : Enum<ZoomLevel>

Functions

Name Summary
distinctViewPortUntilChanged fun Observable<ViewPort>.distinctViewPortUntilChanged(getCellIdsFromViewPort: GetCellIdsFromViewPort): Observable<ViewPort>
getFromAndToMarkerBitmap fun Context.getFromAndToMarkerBitmap(type: Int): Bitmap
ignoreOutOfRegionsException fun Observable<Region>.ignoreOutOfRegionsException(): Observable<Region>