toggle menu
NavigationApp
jvm
switch theme
search in API
navigation-ux-cameras-common
/
com.mapbox.dash.cameras.common
Package-level
declarations
Types
Functions
Properties
Types
Speed
Camera
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
data
class
SpeedCamera
(
val
id
:
String
,
val
lat
:
Double
,
val
lon
:
Double
,
val
speedLimit
:
Double
?
=
null
,
val
direction
:
Int
?
=
null
)
Speed
Cameras
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
SpeedCameras
(
val
cameras
:
List
<
SpeedCamera
>
)
Tile
Id
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
data
class
TileId
(
val
cellSize
:
Int
,
val
x
:
Int
,
val
y
:
Int
)
Properties
FIREBASE_JSON_FOLDER
Link copied to clipboard
const
val
FIREBASE_JSON_FOLDER
:
String
FIREBASE_JSON_PATH
Link copied to clipboard
const
val
FIREBASE_JSON_PATH
:
String
TILE_SIZE
Link copied to clipboard
const
val
TILE_SIZE
:
Int
=
25
Functions
get
Tile
Id
Link copied to clipboard
fun
getTileId
(
camera
:
SpeedCamera
)
:
TileId
fun
getTileId
(
lat
:
Double
,
lon
:
Double
)
:
TileId