tripkit-android / / ApiZoomLevels


class ApiZoomLevels

Zoom level that is compatible with the locations.json API


Name Summary
LOCAL Only non-parent stops (e.g, bus) are returned at this level.static val LOCAL:Int
REGION Only parent stops (e.g, train) are returned at this level.static val REGION:Int
UNKNOWN static val UNKNOWN:Int


Name Summary
fromMapZoomLevel Converts zoom level defined by Google map into zoom level compatible with the locations.json API.static fun fromMapZoomLevel(zoomLevel:ZoomLevel!):Int