tripkit-android / com.skedgo.tripkit.ui.map.home / ApiZoomLevels

ApiZoomLevels

class ApiZoomLevels

Zoom level that is compatible with the locations.json API

Properties

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

Functions

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