JSCamera
API for map camera settings.
var camera = Module.getViewCamera();Function
AltitudeDown()
var API = {
JSCamera : Module.getViewCamera();
};
API.JSCamera.AltitudeDown();AltitudeUp()
var API = {
JSCamera : Module.getViewCamera();
};
API.JSCamera.AltitudeUp();AngleDown()
var API = {
JSCamera : Module.getViewCamera();
};
API.JSCamera.AngleDown();AngleUp()
FOVDecrease()
FOVIncrease()
getMapZoomLevel() -> number
look(from, to) → boolean
Name
Type
Description
MapRender()
move(position, tilt, direct, speed)
Name
Type
Description
moveDist(location, tilt, direct, dist, speed)
Name
Type
Description
MoveDown()
MoveLeft()
moveLonLat(longitude, latitude)
Name
Type
Description
moveLonLatAlt(x, y, z, type)
Name
Type
Description
moveLonLatAltOval(longitude, latitude, altitude, speed)
Name
Type
Description
moveLonLatBoundarybyJson(option) → string
Name
Type
Description
moveLonLatOval(longitude, latitude, speed)
Name
Type
Description
moveOval(position, tilt, direct, speed)
Name
Type
Description
moveOvalDist(location, tilt, Direct, speed)
Name
Type
Description
MoveRight()
MoveUp()
pauseAutoMove(pause) -> boolean
Name
Type
Description
reset()
rotateLeft()
rotateRight()
setDistance(Dist)
Name
Type
Description
setAltitude(alt)
Name
Type
Description
setAutoMovePosition(coordinates) → boolean
Name
Type
Description
setAutoMoveWaitFrame(speed) → boolean
Name
Type
Description
setAutoMoveRoundPositions(center, distance, altitude, startAngle, endAngle, type) → boolean
Name
Type
Description
SetCameraShakeEffect(type) → boolean
Name
Type
Description
SetCameraShakeStrength(value) → boolean
Name
Type
Description
setPermitUnderGround(type)
Name
Type
Description
startAutoMove() → boolean
stopAutoMove() → boolean
viewNorth()
ZoomIn()
ZoomOut()
getLocation() -> JSVector3D
setLocation(position) → boolean
Name
Type
Description
Getter / Setter
getAnimationSpeed(), setAnimationSpeed(speed) -> number
Name
Type
Description
getDirect(), setDirect(direct) -> number
Name
Type
Description
getFov(), setFov(fov) -> number
Name
Type
Description
getMoveMode(), setMoveMode(type) -> boolean
Name
Type
Description
getLimitAltitude(), setLimitAltitude(alt) -> number
Name
Type
Description
getLimitTilt(), setLimitTilt(tilt) -> number
Name
Type
Description
getTilt(), setTilt(tilt) -> number
Name
Type
Description
Type Definitions
JSCamera.MoveBoundaryOption
Name
Type
Attributes
Default
Description
Last updated