MPICameraControlsManager

class MPICameraControlsManager

A camera controls manager.

This class encapsulates the methods that manipulate the camera.

Constructors

MPICameraControlsManager
Link copied to clipboard
fun MPICameraControlsManager()

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
setMaxZoom
Link copied to clipboard
fun setMaxZoom(zoomLevel: Int)
Sets the maximum zoom level of MPIMapView
setMinZoom
Link copied to clipboard
fun setMinZoom(zoomLevel: Int)
Sets the minimum zoom level of MPIMapView
setRotation
Link copied to clipboard
fun setRotation(rotation: Double, callback: (String?, String?) -> Unit? = null)
Sets the current camera rotation of MPIMapView
setTilt
Link copied to clipboard
fun setTilt(tilt: Double, callback: (String?, String?) -> Unit? = null)
Sets the current camera tilt of MPIMapView
toString
Link copied to clipboard
open fun toString(): String

Properties

rotation
Link copied to clipboard
var rotation: Double = 0.0
the current camera rotation of MPIMapView.
tilt
Link copied to clipboard
var tilt: Double = 0.0
the current camera tilt of MPIMapView.