/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.map.home/ApiZoomLevels
ApiZoomLevels
\ object ApiZoomLevels
Zoom level that is compatible with the locations.json API
Properties
Name | Summary |
---|---|
LOCAL | const val LOCAL: Int = 50 Only non-parent stops (e.g, bus) are returned at this level. |
REGION | const val REGION: Int = 1 Only parent stops (e.g, train) are returned at this level. |
UNKNOWN | const val UNKNOWN: Int = 0 |
Functions
Name | Summary |
---|---|
fromMapZoomLevel | fun fromMapZoomLevel(zoomLevel: ZoomLevel?): Int Converts zoom level defined by Google map into zoom level compatible with the locations.json API. |