translate

fun translate(    direction: MPIOptions.CAMERA_DIRECTION,     distance: Double,     options: MPIOptions.CameraAnimation? = null,     callback: (error: MPIError?) -> Unit? = null)

Moves the Camera view in a relative direction by a given distance in meters.

Return

Unit

Parameters

direction

Direction in which the Camera view will move. The options are up, down, left and right.

distance

Distance the Camera view will move in meters

options