/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.map.home/StopLoaderArgs
StopLoaderArgs
\
object StopLoaderArgs
Properties
Functions
Name |
Summary |
createStopLoaderSelection |
fun createStopLoaderSelection(cellsIdSize: Int): String |
createStopLoaderSelectionArgs |
fun createStopLoaderSelectionArgs(cellIds: List<String>, visibleBounds: LatLngBounds): Array<String> |
getCellIdsByCameraZoom |
fun getCellIdsByCameraZoom(region: Region, geoPoint: GeoPoint, zoom: Float, span: LatLngBounds): ArrayList<String> |
getCellIdsForLoading |
fun getCellIdsForLoading(cellIds: List<String>, region: Region): ArrayList<String> Defines proper cell ids so that the loader can load up stops that should be visible at corresponding level. |
getCellIdsForLocalLevel |
fun getCellIdsForLocalLevel(geoPoint: GeoPoint, span: LatLngBounds): ArrayList<String> fun getCellIdsForLocalLevel(lat: Double, lon: Double, latSpan: Double, lonSpan: Double): ArrayList<String> |
getCellIdsForRegionalLevel |
fun getCellIdsForRegionalLevel(region: Region): ArrayList<String> |
newArgsForStopsLoader |
fun newArgsForStopsLoader(cellIds: List<String>, region: Region, visibleBounds: LatLngBounds): Pair<List<String>, LatLngBounds> |