toggle menu
mapsglmaps
androidJvm
switch theme
search in API
mapsglmaps
/
com.xweather.mapsgl.map.mapbox
/
CameraSync
/
Companion
Companion
object
Companion
Members
Properties
camera
Link copied to clipboard
lateinit
var
camera
:
Camera
camera
To
Center
Distance
Link copied to clipboard
const
val
cameraToCenterDistance
:
Float
=
0.0f
camera
Triggered
Link copied to clipboard
var
cameraTriggered
:
Boolean
DEG2RAD
Link copied to clipboard
const
val
DEG2RAD
:
Double
EARTH_CIRCUMFERENCE
Link copied to clipboard
const
val
EARTH_CIRCUMFERENCE
:
Double
EARTH_CIRCUMFERENCE_EQUATOR
Link copied to clipboard
const
val
EARTH_CIRCUMFERENCE_EQUATOR
:
Int
=
40075017
EARTH_RADIUS
Link copied to clipboard
const
val
EARTH_RADIUS
:
Double
=
6371008.8
FOV_ORTHO
Link copied to clipboard
const
val
FOV_ORTHO
:
Double
map
Zoom
Link copied to clipboard
var
mapZoom
:
Double
MERCATOR_A
Link copied to clipboard
const
val
MERCATOR_A
:
Double
PROJECTION_WORLD_SIZE
Link copied to clipboard
const
val
PROJECTION_WORLD_SIZE
:
Double
RAD2DEG
Link copied to clipboard
const
val
RAD2DEG
:
Double
rot
Scale
Pitch
Matrix
Link copied to clipboard
var
rotScalePitchMatrix
:
Matrix4
scale
Matrix
Link copied to clipboard
var
scaleMatrix
:
Matrix4
translation
Matrix
Link copied to clipboard
var
translationMatrix
:
Matrix4
WORLD_SIZE
Link copied to clipboard
const
val
WORLD_SIZE
:
Int
=
1024000
world
Matrix
Link copied to clipboard
var
worldMatrix
:
ProjectionMatrix
Functions
calculate
Camera
Matrix
Deg
Link copied to clipboard
fun
calculateCameraMatrixDeg
(
pitch
:
Float
,
bearing
:
Float
,
translateZ
:
Matrix4
)
:
Matrix4