toggle menu
mapbox-navigation-android
androidJvm
switch theme
UI Maps
/
com.mapbox.navigation.ui.maps.camera.internal
/
normalizeBearing
normalize
Bearing
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
fun
normalizeBearing
(
currentBearing
:
Double
,
targetBearing
:
Double
)
:
Double
Returns a bearing change using the shortest path.