MPICameraControlsManager

class MPICameraControlsManager(mapView: MPIMapView)

A camera controls manager.

This class encapsulates the methods that manipulate the camera.

Parameters

mapView

Constructors

MPICameraControlsManager
Link copied to clipboard
fun MPICameraControlsManager(mapView: MPIMapView)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
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.