PMCamera
data class PMCamera(val position: PMMapPosition? = null, val boundingBox: PMMapBoundingBox? = null, val movementMode: PMMovementMode? = null, val zoomLevel: Int? = null, val rotation: Double? = null, val tilt: Double? = null)
Representation of map camera
Constructors
Link copied to clipboard
fun PMCamera(position: PMMapPosition? = null, boundingBox: PMMapBoundingBox? = null, movementMode: PMMovementMode? = null, zoomLevel: Int? = null, rotation: Double? = null, tilt: Double? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the tilt of map in degrees. The tilt controls the perspective at which the map is viewed. A value of 0 degrees corresponds to looking straight down at the map from above (2D). As the tilt value is increased, the view shifts to a 3D perspective. The tilt of the map may be further constrained at some zoom levels. For example, no tilt is allowed at the lowest zoom levels when the globe is visible. This is to provide a better user experience when interacting with globe, since viewing a "tilted" globe does not give any benefit. Valid values <0, 90>
Link copied to clipboard